mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-04 04:20:09 -04:00
fix(highlight): respect g:skip_ts_default_groups on ColorScheme autocmd
This commit is contained in:
parent
b92535f045
commit
1a85a335c2
1 changed files with 1 additions and 1 deletions
|
|
@ -183,7 +183,7 @@ function M.set_custom_captures(captures)
|
|||
end
|
||||
|
||||
function M.set_default_hlgroups()
|
||||
if not ts.highlighter.hl_map then
|
||||
if not ts.highlighter.hl_map and not vim.g.skip_ts_default_groups then
|
||||
link_all_captures()
|
||||
end
|
||||
local highlights = {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue