aboutsummaryrefslogtreecommitdiffstats
path: root/lua
diff options
context:
space:
mode:
authorSantos Gallegos <stsewd@protonmail.com>2020-08-03 21:40:23 -0500
committerThomas Vigouroux <39092278+vigoux@users.noreply.github.com>2020-08-09 18:38:00 +0200
commit429036317aa67b097fa4a04b8dda5551266b942e (patch)
tree8542b0f694b3d6970b392644bc62954d8989fc52 /lua
parentAdd troubleshooting for when a parser changes (diff)
downloadnvim-treesitter-429036317aa67b097fa4a04b8dda5551266b942e.tar
nvim-treesitter-429036317aa67b097fa4a04b8dda5551266b942e.tar.gz
nvim-treesitter-429036317aa67b097fa4a04b8dda5551266b942e.tar.bz2
nvim-treesitter-429036317aa67b097fa4a04b8dda5551266b942e.tar.lz
nvim-treesitter-429036317aa67b097fa4a04b8dda5551266b942e.tar.xz
nvim-treesitter-429036317aa67b097fa4a04b8dda5551266b942e.tar.zst
nvim-treesitter-429036317aa67b097fa4a04b8dda5551266b942e.zip
Lua: highlight function name
Diffstat (limited to 'lua')
-rw-r--r--lua/nvim-treesitter/highlight.lua1
1 files changed, 1 insertions, 0 deletions
diff --git a/lua/nvim-treesitter/highlight.lua b/lua/nvim-treesitter/highlight.lua
index 6058d52c6..1737d526c 100644
--- a/lua/nvim-treesitter/highlight.lua
+++ b/lua/nvim-treesitter/highlight.lua
@@ -46,6 +46,7 @@ hlmap["repeat"] = "TSRepeat"
hlmap["label"] = "TSLabel"
hlmap["operator"] = "TSOperator"
hlmap["keyword"] = "TSKeyword"
+hlmap["keyword.function"] = "TSKeywordFunction"
hlmap["exception"] = "TSException"
hlmap["type"] = "TSType"