-
Notifications
You must be signed in to change notification settings - Fork 10
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Error in decoration provider treesitter/highlighter.line: #46
Comments
Maybe you should care about the version |
I am having the same question:( |
@carmarfee |
@futsuuu |
@futsuuu |
@carmarfee |
@futsuuu |
Keep in mind this plugin was made back when LSP support for unused variables was nowhere near what it is now. This plugin is likely not super useful for most languages anymore due to semantic tokens and is probably due to be archived soon. I'm happy to keep it around if you think that it still has a use case @futsuuu but figured I'd let my thoughts be known |
Neovim v0.10 hasn't even been released, so making it a dependency of neodim's It's probably worth putting into the README the tag, commit, etc. to use for those on the latest released version (v0.9.5). |
@carmarfee Different from yours, my neovim version is 0.10.0. I found out that the reason why I had this bug was that my lazy pulled a non-latest version of neodim. So the problem is most likely caused by the version matching between neovim and neodim. Considering that your neovim version is 0.9, I guess it is because you pulled the latest version of neodim that caused your problem. My suggestion is that you can delete ~/.local/share/nvim/site/lazy/neodim manually pull the old version of neodim |
My neovim version is Error in decoration provider treesitter/highlighter.line:
Error executing lua: ...l/share/nvim/site/lazy/neodim/lua/neodim/ts_override.lua:21: attempt to cal
l method 'get_highlight_state' (a nil value)
stack traceback:
...l/share/nvim/site/lazy/neodim/lua/neodim/ts_override.lua:21: in function 'fn'
...r/share/nvim/runtime/lua/vim/treesitter/languagetree.lua:491: in function 'for_each_tree
'
...l/share/nvim/site/lazy/neodim/lua/neodim/ts_override.lua:15: in function 'on_line_impl'
...l/share/nvim/site/lazy/neodim/lua/neodim/ts_override.lua:96: in function <...l/share/nvi
m/site/lazy/neodim/lua/neodim/ts_override.lua:90> |
@yinghaoyu Please update neodim. |
Opening the latest Neovim to various files (e.g. lua, fish, etc.) results in the following error, and disabling
neodim
fixes it.The text was updated successfully, but these errors were encountered: