mirror of
https://github.com/helix-editor/helix.git
synced 2024-11-28 04:13:29 +04:00
485c5cf0b8
* Adding initial support for ada language, based off #7790 PR from tomekw * More translation to helix-specific tree-sitter scm labels, add ada gpr switch to ada LSP * Generate ada in lang-support.md using cargo xtask docgen * Update tree-sitter definitions according to comments * Remove .gpr glob from languages.toml * Fix unit in languages.toml for ada, update locals.scm to helix needs
16 lines
363 B
Scheme
16 lines
363 B
Scheme
; Support for folding in Ada
|
|
;; za toggles folding a package, subprogram, if statement or loop
|
|
|
|
[
|
|
(package_declaration)
|
|
(generic_package_declaration)
|
|
(package_body)
|
|
(subprogram_declaration)
|
|
(subprogram_body)
|
|
(block_statement)
|
|
(if_statement)
|
|
(loop_statement)
|
|
(gnatprep_declarative_if_statement)
|
|
(gnatprep_if_statement)
|
|
] @fold
|