mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-01 19:17:02 -04:00
Re-add attribute highlight
This commit is contained in:
parent
8cc0b8d4c4
commit
3652bed53e
3 changed files with 4 additions and 2 deletions
|
|
@ -29,6 +29,7 @@ hlmap["number"] = "TSNumber"
|
|||
hlmap["boolean"] = "TSBoolean"
|
||||
hlmap["float"] = "TSFloat"
|
||||
hlmap["annotation"] = "TSAnnotation"
|
||||
hlmap["attribute"] = "TSAttribute"
|
||||
|
||||
-- Functions
|
||||
hlmap["function"] = "TSFunction"
|
||||
|
|
|
|||
|
|
@ -40,6 +40,7 @@ highlight default link TSField Identifier
|
|||
highlight default link TSProperty Identifier
|
||||
highlight default link TSConstructor Special
|
||||
highlight default link TSAnnotation PreProc
|
||||
highlight default link TSAttribute PreProc
|
||||
|
||||
highlight default link TSConditional Conditional
|
||||
highlight default link TSRepeat Repeat
|
||||
|
|
|
|||
|
|
@ -8,9 +8,9 @@
|
|||
|
||||
; Annotations
|
||||
(annotation
|
||||
name: (identifier) @annotation)
|
||||
name: (identifier) @attribute)
|
||||
(marker_annotation
|
||||
name: (identifier) @annotation)
|
||||
name: (identifier) @attribute)
|
||||
|
||||
; Operators and Tokens
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue