fixup: facepalm

This commit is contained in:
Christian Clason 2022-08-26 15:47:01 +02:00 committed by Thomas Vigouroux
parent c951a14ca5
commit 7bd8b87df1

View file

@ -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