Update C/C++ highlights to new query syntax

This commit is contained in:
Stephan Seitz 2020-06-07 13:13:24 +02:00
parent e46baab8ca
commit a5fc7b13cc
4 changed files with 17 additions and 16 deletions

View file

@ -94,10 +94,10 @@
(sized_type_specifier) @type
((identifier) @type
(match? @type "^[A-Z]"))
(#match? @type "^[A-Z]"))
((identifier) @constant
(match? @constant "^[A-Z][A-Z\\d_]+$"))
(#match? @constant "^[A-Z][A-Z\\d_]+$"))
(comment) @comment
@ -109,3 +109,4 @@
(identifier)) @parameter
(ERROR) @error