mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-02 19:46:58 -04:00
highlight(c): fix booleans and types
This commit is contained in:
parent
a5fb463309
commit
7bb0d7548d
2 changed files with 41 additions and 20 deletions
|
|
@ -20,6 +20,8 @@
|
|||
|
||||
(namespace_identifier) @constant
|
||||
|
||||
((identifier) @type (#match? @type "^[A-Z]"))
|
||||
|
||||
((namespace_identifier) @type
|
||||
(#match? @type "^[A-Z]"))
|
||||
((namespace_identifier) @constant
|
||||
|
|
@ -77,7 +79,7 @@
|
|||
"noexcept"
|
||||
"throw"
|
||||
] @exception
|
||||
|
||||
|
||||
|
||||
[
|
||||
"class"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue