You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
First of all, thank you for this really cool project!
When trying out the new feature to conditionally disable highlights I have run into some problems:
Error detected while processing BufReadPost Autocommands for "*":
Error executing lua callback: ...neovim-unwrapped-nightly/share/nvim/runtime/filetype.lua:36: BufReadPost Autocommands for "*"..FileType Autocommands for "lua"..FileType Autocommands for "lua"..FileType A
utocommands for "*": Vim(append):Error executing lua callback: .../nvim/rocks/rocks_rtp/lua/rocks_treesitter/highlight.lua:142: attempt to index field 'disable' (a function value)
Expected result
Should highlight file with no problem.
I think it might be related to the associativity of operators in:
First of all, thank you for this really cool project!
When trying out the new feature to conditionally disable highlights I have run into some problems:
Configuration to reproduce
Result
Entering any buffer produces the following error:
Expected result
Should highlight file with no problem.
I think it might be related to the associativity of operators in:
where the
or config.disable[filetype]
ends up always being executed.The text was updated successfully, but these errors were encountered: