mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-14 17:30:08 -04:00
folds(c_sharp): Add basic folding
This commit is contained in:
parent
7e40537769
commit
fde9521f9e
1 changed files with 18 additions and 0 deletions
18
queries/c_sharp/folds.scm
Normal file
18
queries/c_sharp/folds.scm
Normal file
|
|
@ -0,0 +1,18 @@
|
||||||
|
[
|
||||||
|
(class_declaration)
|
||||||
|
(constructor_declaration)
|
||||||
|
(enum_declaration)
|
||||||
|
(interface_declaration)
|
||||||
|
(method_declaration)
|
||||||
|
(namespace_declaration)
|
||||||
|
(struct_declaration)
|
||||||
|
|
||||||
|
(do_statement)
|
||||||
|
(for_each_statement)
|
||||||
|
(for_statement)
|
||||||
|
(if_statement)
|
||||||
|
(switch_statement)
|
||||||
|
(try_statement)
|
||||||
|
(using_statement)
|
||||||
|
(while_statement)
|
||||||
|
] @fold
|
||||||
Loading…
Add table
Add a link
Reference in a new issue