mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-05 21:10:15 -04:00
queries(rust): add highlight query.
Also slightly changes the way constructors are highlighted.
This commit is contained in:
parent
90ec2d5250
commit
d9f7f6e35a
2 changed files with 140 additions and 1 deletions
|
|
@ -34,7 +34,7 @@ hlmap["parameter"] = "Identifier"
|
|||
hlmap["method"] = "Function"
|
||||
hlmap["field"] = "Identifier"
|
||||
hlmap["property"] = "Identifier"
|
||||
hlmap["constructor"] = "Special"
|
||||
hlmap["constructor"] = "Constant"
|
||||
|
||||
-- Keywords
|
||||
hlmap["conditional"] = "Conditional"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue