neodim icon indicating copy to clipboard operation
neodim copied to clipboard

Error in decoration provider treesitter/highlighter.line:

Open AlexSWall opened this issue 1 year ago • 13 comments

Opening the latest Neovim to various files (e.g. lua, fish, etc.) results in the following error, and disabling neodim fixes it.

Error in decoration provider treesitter/highlighter.line:
Error executing lua: ....local/share/nvim/lazy/neodim/lua/neodim/ts_override.lua:20: attempt to call method 'get_highlight_state' (a nil value)
stack traceback:
        ....local/share/nvim/lazy/neodim/lua/neodim/ts_override.lua:20: in function 'fn'
        ...l/share/nvim/runtime/lua/vim/treesitter/languagetree.lua:489: in function 'for_each_tree'
        ....local/share/nvim/lazy/neodim/lua/neodim/ts_override.lua:14: in function 'on_line_impl'
        ....local/share/nvim/lazy/neodim/lua/neodim/ts_override.lua:95: in function <....local/share/nvim/lazy/neodim/lua/neodim/ts_override.lua:89>

AlexSWall avatar Jan 28 '24 17:01 AlexSWall