mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-21 12:50:09 -04:00
C++ highlights: Add initial support for attributes
This commit is contained in:
parent
994baf4539
commit
06c9f1897c
1 changed files with 6 additions and 0 deletions
|
|
@ -112,3 +112,9 @@
|
|||
|
||||
"::" @operator
|
||||
"..." @operator
|
||||
|
||||
; Annotations (not fully supported by parser)
|
||||
|
||||
((ERROR) @annotation
|
||||
(vim-match? @annotation "\[?\[.*\]\]?.*$"))
|
||||
(attribute) @annotation
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue