mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-21 12:50:09 -04:00
add highlight for @variable
This commit is contained in:
parent
b7a4c97feb
commit
afd7a9e124
1 changed files with 4 additions and 0 deletions
|
|
@ -17,6 +17,10 @@ hlmap["punctuation.delimiter"] = "TSPunctDelimiter"
|
|||
hlmap["punctuation.bracket"] = "TSPunctBracket"
|
||||
hlmap["punctuation.special"] = "TSPunctSpecial"
|
||||
|
||||
-- Variable
|
||||
hlmap["variable"] = "TSIdentifier"
|
||||
hlmap["variable.builtin"] = "TSConstBuiltin"
|
||||
|
||||
-- Constants
|
||||
hlmap["constant"] = "TSConstant"
|
||||
hlmap["constant.builtin"] = "TSConstBuiltin"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue