mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-17 02:40:09 -04:00
Added function/method call highlight groups
This commit is contained in:
parent
fbf453a432
commit
a51ef77674
1 changed files with 4 additions and 0 deletions
|
|
@ -41,6 +41,7 @@ hlmap["field"] = "TSField"
|
||||||
hlmap["float"] = "TSFloat"
|
hlmap["float"] = "TSFloat"
|
||||||
|
|
||||||
hlmap["function"] = "TSFunction"
|
hlmap["function"] = "TSFunction"
|
||||||
|
hlmap["function.call"] = "TSFunctionCall"
|
||||||
hlmap["function.builtin"] = "TSFuncBuiltin"
|
hlmap["function.builtin"] = "TSFuncBuiltin"
|
||||||
hlmap["function.macro"] = "TSFuncMacro"
|
hlmap["function.macro"] = "TSFuncMacro"
|
||||||
|
|
||||||
|
|
@ -54,6 +55,7 @@ hlmap["keyword.return"] = "TSKeywordReturn"
|
||||||
hlmap["label"] = "TSLabel"
|
hlmap["label"] = "TSLabel"
|
||||||
|
|
||||||
hlmap["method"] = "TSMethod"
|
hlmap["method"] = "TSMethod"
|
||||||
|
hlmap["method.call"] = "TSMethodCall"
|
||||||
|
|
||||||
hlmap["namespace"] = "TSNamespace"
|
hlmap["namespace"] = "TSNamespace"
|
||||||
|
|
||||||
|
|
@ -177,11 +179,13 @@ function M.set_default_hlgroups()
|
||||||
TSFloat = { link = "Float", default = true },
|
TSFloat = { link = "Float", default = true },
|
||||||
|
|
||||||
TSFunction = { link = "Function", default = true },
|
TSFunction = { link = "Function", default = true },
|
||||||
|
TSFunctionCall = { link = "TSFunction", default = true },
|
||||||
TSFuncBuiltin = { link = "Special", default = true },
|
TSFuncBuiltin = { link = "Special", default = true },
|
||||||
TSFuncMacro = { link = "Macro", default = true },
|
TSFuncMacro = { link = "Macro", default = true },
|
||||||
TSParameter = { link = "Identifier", default = true },
|
TSParameter = { link = "Identifier", default = true },
|
||||||
TSParameterReference = { link = "TSParameter", default = true },
|
TSParameterReference = { link = "TSParameter", default = true },
|
||||||
TSMethod = { link = "Function", default = true },
|
TSMethod = { link = "Function", default = true },
|
||||||
|
TSMethodCall = { link = "TSMethod", default = true },
|
||||||
TSField = { link = "Identifier", default = true },
|
TSField = { link = "Identifier", default = true },
|
||||||
TSProperty = { link = "Identifier", default = true },
|
TSProperty = { link = "Identifier", default = true },
|
||||||
TSConstructor = { link = "Special", default = true },
|
TSConstructor = { link = "Special", default = true },
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue