Change regexes in C/C++ highlights

This commit is contained in:
Stephan Seitz 2020-06-14 15:12:38 +02:00
parent a5fc7b13cc
commit 8bc00cf02a
2 changed files with 2 additions and 2 deletions

View file

@ -97,7 +97,7 @@
(#match? @type "^[A-Z]"))
((identifier) @constant
(#match? @constant "^[A-Z][A-Z\\d_]+$"))
(#match? @constant "^[A-Z][A-Z0-9_]+$"))
(comment) @comment

View file

@ -23,7 +23,7 @@
((namespace_identifier) @type
(#match? @type "^[A-Z]"))
((namespace_identifier) @constant
(#match? @constant "^[A-Z][A-Z_1-9]*$"))
(#match? @constant "^[A-Z][A-Z_0-9]*$"))
(destructor_name
name: (_) @function)