C/C++ highlights: update to new syntax

This changed the highlight of "switch" to conditional and of "break" to repeat.
This commit is contained in:
Stephan Seitz 2020-07-04 22:00:59 +02:00 committed by Thomas Vigouroux
parent bf015c168f
commit 63c1853674
4 changed files with 99 additions and 87 deletions

View file

@ -31,9 +31,11 @@
(identifier) @reference
;; Scope
(for_statement) @scope
(if_statement) @scope
(while_statement) @scope
(translation_unit) @scope
(function_definition) @scope
(compound_statement) @scope ; a block in curly braces
[
(for_statement)
(if_statement)
(while_statement)
(translation_unit)
(function_definition)
(compound_statement) ; a block in curly braces
] @scope