mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-14 01:10:02 -04:00
C++ highlights: Add initial support for attributes
This commit is contained in:
parent
3b2cb65d4c
commit
627a1e558f
1 changed files with 6 additions and 0 deletions
|
|
@ -117,3 +117,9 @@
|
||||||
|
|
||||||
"::" @operator
|
"::" @operator
|
||||||
"..." @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