aboutsummaryrefslogtreecommitdiffstats
path: root/lua
diff options
context:
space:
mode:
authorMunif Tanjim <muniftanjim@gmail.com>2021-04-24 20:41:16 +0600
committerThomas Vigouroux <tomvig38@gmail.com>2021-04-24 16:52:37 +0200
commit1cc06ac8ba9f6d56e9ce0c87d15cdd17c89f2955 (patch)
tree32fabc225bef9d9cb2b392df87bc78e4fed54857 /lua
parentUpdate lockfile.json (diff)
downloadnvim-treesitter-1cc06ac8ba9f6d56e9ce0c87d15cdd17c89f2955.tar
nvim-treesitter-1cc06ac8ba9f6d56e9ce0c87d15cdd17c89f2955.tar.gz
nvim-treesitter-1cc06ac8ba9f6d56e9ce0c87d15cdd17c89f2955.tar.bz2
nvim-treesitter-1cc06ac8ba9f6d56e9ce0c87d15cdd17c89f2955.tar.lz
nvim-treesitter-1cc06ac8ba9f6d56e9ce0c87d15cdd17c89f2955.tar.xz
nvim-treesitter-1cc06ac8ba9f6d56e9ce0c87d15cdd17c89f2955.tar.zst
nvim-treesitter-1cc06ac8ba9f6d56e9ce0c87d15cdd17c89f2955.zip
highlight: add 'comment' to hlmap
Diffstat (limited to 'lua')
-rw-r--r--lua/nvim-treesitter/highlight.lua4
1 files changed, 3 insertions, 1 deletions
diff --git a/lua/nvim-treesitter/highlight.lua b/lua/nvim-treesitter/highlight.lua
index 73952db9d..f076e8a36 100644
--- a/lua/nvim-treesitter/highlight.lua
+++ b/lua/nvim-treesitter/highlight.lua
@@ -20,6 +20,8 @@ hlmap["boolean"] = "TSBoolean"
hlmap["character"] = "TSCharacter"
+hlmap["comment"] = "TSComment"
+
hlmap["conditional"] = "TSConditional"
hlmap["constant"] = "TSConstant"
@@ -28,7 +30,7 @@ hlmap["constant.macro"] = "TSConstMacro"
hlmap["constructor"] = "TSConstructor"
-hlmap.error = "TSError"
+hlmap["error"] = "TSError"
hlmap["exception"] = "TSException"
hlmap["field"] = "TSField"