mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-17 02:40:09 -04:00
feat: add kos parser and queries (#8389)
This commit is contained in:
parent
300b906a95
commit
31fc7e10cd
7 changed files with 365 additions and 0 deletions
19
runtime/queries/kos/folds.scm
Normal file
19
runtime/queries/kos/folds.scm
Normal file
|
|
@ -0,0 +1,19 @@
|
|||
[
|
||||
(function_decl)
|
||||
(constructor_literal)
|
||||
(function_literal)
|
||||
(class_decl)
|
||||
(class_literal)
|
||||
(do_statement)
|
||||
(if_statement)
|
||||
(try_statement)
|
||||
(defer_statement)
|
||||
(with_statement)
|
||||
(switch_statement)
|
||||
(switch_case)
|
||||
(default_case)
|
||||
(loop_statement)
|
||||
(repeat_statement)
|
||||
(while_statement)
|
||||
(for_statement)
|
||||
] @fold
|
||||
Loading…
Add table
Add a link
Reference in a new issue