nvim-treesitter/queries/cpp/folds.scm
Thomas Vigouroux c055899dc0 feat(queries): modeline mechanism for base langs
This implements https://github.com/neovim/neovim/pull/13059#issuecomment-704414189

This behaves like modelines and remove the use of the base_language map.
Also, this allows to fine-tune what we actually want to include per
query, which is better IMO.
2020-10-11 19:09:22 +02:00

11 lines
164 B
Scheme

; inherits: c
[
(for_range_loop)
(class_specifier)
(template_declaration)
(namespace_definition)
(try_statement)
(catch_clause)
(lambda_expression)
] @fold