aboutsummaryrefslogtreecommitdiffstats
path: root/lua
diff options
context:
space:
mode:
authorantonk52 <halloy52@gmail.com>2021-07-04 19:55:59 +0300
committerStephan Seitz <stephan.lauf@yahoo.de>2021-07-04 21:49:17 +0200
commitbd9095e96986fbb65829a3dbc598f9b35d9b7db2 (patch)
treea03f490fa20eb011bfb9cd1d5a3008df26bb6cbb /lua
parentlocals: add more scopes (diff)
downloadnvim-treesitter-bd9095e96986fbb65829a3dbc598f9b35d9b7db2.tar
nvim-treesitter-bd9095e96986fbb65829a3dbc598f9b35d9b7db2.tar.gz
nvim-treesitter-bd9095e96986fbb65829a3dbc598f9b35d9b7db2.tar.bz2
nvim-treesitter-bd9095e96986fbb65829a3dbc598f9b35d9b7db2.tar.lz
nvim-treesitter-bd9095e96986fbb65829a3dbc598f9b35d9b7db2.tar.xz
nvim-treesitter-bd9095e96986fbb65829a3dbc598f9b35d9b7db2.tar.zst
nvim-treesitter-bd9095e96986fbb65829a3dbc598f9b35d9b7db2.zip
feat(keywords) add keyword.return & keyword.yield
Diffstat (limited to 'lua')
-rw-r--r--lua/nvim-treesitter/highlight.lua2
1 files changed, 2 insertions, 0 deletions
diff --git a/lua/nvim-treesitter/highlight.lua b/lua/nvim-treesitter/highlight.lua
index 176608622..9ffc5ac0e 100644
--- a/lua/nvim-treesitter/highlight.lua
+++ b/lua/nvim-treesitter/highlight.lua
@@ -46,6 +46,8 @@ hlmap["include"] = "TSInclude"
hlmap["keyword"] = "TSKeyword"
hlmap["keyword.function"] = "TSKeywordFunction"
hlmap["keyword.operator"] = "TSKeywordOperator"
+hlmap["keyword.return"] = "TSKeywordReturn"
+hlmap["keyword.yield"] = "TSKeywordYield"
hlmap["label"] = "TSLabel"