mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-01 19:17:02 -04:00
Add attribute to the highlight map
This commit is contained in:
parent
3eac4483c0
commit
ee83c3bd02
2 changed files with 2 additions and 0 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue