queries(rust): add highlight query.

Also slightly changes the way constructors are highlighted.
This commit is contained in:
Thomas Vigouroux 2020-05-17 12:21:31 +02:00
parent 90ec2d5250
commit d9f7f6e35a
2 changed files with 140 additions and 1 deletions

View file

@ -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"