mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-05 04:50:03 -04:00
highlight(c): fix booleans and types
This commit is contained in:
parent
884080f89a
commit
3172e9736c
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