aboutsummaryrefslogtreecommitdiffstats
path: root/queries/c
diff options
context:
space:
mode:
authorStephan Seitz <stephan.seitz@fau.de>2020-09-07 20:09:44 +0200
committerThomas Vigouroux <tomvig38@gmail.com>2020-09-08 22:02:39 +0200
commit8bc5d1ff3fc79ca4a54965730dcddf17f9d6f026 (patch)
treeb618e150b1f32d3f6ab4794ff1b81426f2ede0fc /queries/c
parentFix #418: iterator function should always return an iterator (diff)
downloadnvim-treesitter-8bc5d1ff3fc79ca4a54965730dcddf17f9d6f026.tar
nvim-treesitter-8bc5d1ff3fc79ca4a54965730dcddf17f9d6f026.tar.gz
nvim-treesitter-8bc5d1ff3fc79ca4a54965730dcddf17f9d6f026.tar.bz2
nvim-treesitter-8bc5d1ff3fc79ca4a54965730dcddf17f9d6f026.tar.lz
nvim-treesitter-8bc5d1ff3fc79ca4a54965730dcddf17f9d6f026.tar.xz
nvim-treesitter-8bc5d1ff3fc79ca4a54965730dcddf17f9d6f026.tar.zst
nvim-treesitter-8bc5d1ff3fc79ca4a54965730dcddf17f9d6f026.zip
Add C++ folds and C comment/preproc folds
Diffstat (limited to 'queries/c')
-rw-r--r--queries/c/fold.scm6
1 files changed, 6 insertions, 0 deletions
diff --git a/queries/c/fold.scm b/queries/c/fold.scm
index 403530f2c..5e76f37e5 100644
--- a/queries/c/fold.scm
+++ b/queries/c/fold.scm
@@ -4,4 +4,10 @@
(while_statement)
(translation_unit)
(function_definition)
+ (struct_specifier)
+ (comment)
+ (preproc_if)
+ (preproc_elif)
+ (preproc_else)
+ (preproc_ifdef)
] @fold