diff options
| author | Christian Clason <c.clason@uni-graz.at> | 2022-08-26 15:47:01 +0200 |
|---|---|---|
| committer | Thomas Vigouroux <thomas.vigouroux@protonmail.com> | 2022-08-26 16:01:09 +0200 |
| commit | 7bd8b87df169d45c77b8987b5b09b0a8319e9893 (patch) | |
| tree | 2e66ac4c78fab2b59cf3bc04f76a288625892239 | |
| parent | c951a14ca521749cd072d23f3f1a5ca71eafcffe (diff) | |
fixup: facepalm
| -rw-r--r-- | lua/nvim-treesitter/highlight.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lua/nvim-treesitter/highlight.lua b/lua/nvim-treesitter/highlight.lua index c9a26956..9c4ede21 100644 --- a/lua/nvim-treesitter/highlight.lua +++ b/lua/nvim-treesitter/highlight.lua @@ -126,7 +126,7 @@ if ts.highlighter.hl_map then end elseif not vim.g.skip_ts_default_groups then link_captures = function(capture, hlgroup) - api.nvim_set_hl(0, hlgroup, { link = "@" .. capture }) + api.nvim_set_hl(0, "@" .. capture, { link = hlgroup }) end end |
