mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-20 04:10:06 -04:00
feat: add Ada
This commit is contained in:
parent
779b4222a3
commit
23906e8838
6 changed files with 239 additions and 0 deletions
13
queries/ada/folds.scm
Normal file
13
queries/ada/folds.scm
Normal file
|
|
@ -0,0 +1,13 @@
|
|||
;; Support for folding in Ada
|
||||
;; za toggles folding a package, subprogram, if statement or loop
|
||||
|
||||
[
|
||||
(package_specification)
|
||||
(package_body)
|
||||
(subprogram_body)
|
||||
(block_statement)
|
||||
(if_statement)
|
||||
(loop_statement)
|
||||
(gnatprep_declarative_if_statement)
|
||||
(gnatprep_if_statement)
|
||||
] @fold
|
||||
Loading…
Add table
Add a link
Reference in a new issue