Rename attribute to annotation

This commit is contained in:
Akin Sowemimo 2020-07-23 15:37:04 +01:00 committed by Stephan Seitz
parent 72efa353f0
commit 599bec3890
3 changed files with 4 additions and 4 deletions

View file

@ -28,7 +28,7 @@ hlmap["character"] = "TSCharacter"
hlmap["number"] = "TSNumber"
hlmap["boolean"] = "TSBoolean"
hlmap["float"] = "TSFloat"
hlmap["attribute"] = "TSAttribute"
hlmap["annotation"] = "TSAnnotation"
-- Functions
hlmap["function"] = "TSFunction"

View file

@ -44,7 +44,7 @@ highlight default link TSMethod Function
highlight default link TSField Identifier
highlight default link TSProperty Identifier
highlight default link TSConstructor Special
highlight default link TSAttribute Identifier
highlight default link TSAnnotation PreProc
highlight default link TSConditional Conditional
highlight default link TSRepeat Repeat

View file

@ -8,9 +8,9 @@
; Annotations
(annotation
name: (identifier) @attribute)
name: (identifier) @annotation)
(marker_annotation
name: (identifier) @attribute)
name: (identifier) @annotation)
; Operators