mirror of
https://github.com/chenasraf/nvim-treesitter.git
synced 2026-05-18 01:39:00 +00:00
Add attribute to the highlight map
This commit is contained in:
committed by
Stephan Seitz
parent
3eac4483c0
commit
ee83c3bd02
@@ -28,6 +28,7 @@ hlmap["character"] = "TSCharacter"
|
||||
hlmap["number"] = "TSNumber"
|
||||
hlmap["boolean"] = "TSBoolean"
|
||||
hlmap["float"] = "TSFloat"
|
||||
hlmap["attribute"] = "TSAttribute"
|
||||
|
||||
-- Functions
|
||||
hlmap["function"] = "TSFunction"
|
||||
|
||||
@@ -44,6 +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 TSConditional Conditional
|
||||
highlight default link TSRepeat Repeat
|
||||
|
||||
Reference in New Issue
Block a user