mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-02 03:26:52 -04:00
Add C++ folds and C comment/preproc folds
This commit is contained in:
parent
3c1399b94e
commit
8bc5d1ff3f
2 changed files with 15 additions and 0 deletions
9
queries/cpp/fold.scm
Normal file
9
queries/cpp/fold.scm
Normal file
|
|
@ -0,0 +1,9 @@
|
|||
[
|
||||
(for_range_loop)
|
||||
(class_specifier)
|
||||
(template_declaration)
|
||||
(namespace_definition)
|
||||
(try_statement)
|
||||
(catch_clause)
|
||||
(lambda_expression)
|
||||
] @fold
|
||||
Loading…
Add table
Add a link
Reference in a new issue