c++ highlights: don't capture all identifiers with uppercase initials as types

This commit is contained in:
Alex Chen 2021-06-04 19:56:10 +08:00 committed by Stephan Seitz
parent a7dac748ba
commit 3b516c8e2b

View file

@ -32,10 +32,6 @@
name: (identifier) @function))
((identifier) @type
(#match? @type "^[A-Z].*[a-z]")
(#not-has-parent? @type function_declarator))
(namespace_identifier) @namespace
((namespace_identifier) @type
(#match? @type "^[A-Z]"))