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
I use quite a lot of plugins (woops) but here is where I reproduced it:
lspconfig
typescript-tools
none-ls -> code action builtin eslint
cssmodules_ls
tailwindcss
This happens on [1] Move to a new file action
I temporary fixed this issue by detecting that row/col are not a table and then reassign it but it might not be the right way to do, just stopping the error without refactoring to much code.
Not sure where the problem lies.
I will try to reproduce with a lighter config and share it.
Error detected while processing CursorMoved Autocommands for "<buffer=4>":
Error executing lua callback: ...er/start/lspsaga.nvim/lua/lspsaga/codeaction/preview.lua:104: attempt to index field 'col' (a number value)
stack traceback:
...er/start/lspsaga.nvim/lua/lspsaga/codeaction/preview.lua:104: in function 'create_preview_win'
...er/start/lspsaga.nvim/lua/lspsaga/codeaction/preview.lua:158: in function 'action_preview'
...acker/start/lspsaga.nvim/lua/lspsaga/codeaction/init.lua:239: in function 'set_cursor'
...acker/start/lspsaga.nvim/lua/lspsaga/codeaction/init.lua:99: in function <...acker/start/lspsaga.nvim/lua/lspsaga/codeaction/init.lua:98>
The text was updated successfully, but these errors were encountered:
scratchyone
added a commit
to scratchyone/lspsaga.nvim
that referenced
this issue
Feb 24, 2024
Hello,
In codeaction/preview.lua
Is not returning a table with [true] and [false] for row and col and this making this function crash.
I use quite a lot of plugins (woops) but here is where I reproduced it:
This happens on
[1] Move to a new file
actionI temporary fixed this issue by detecting that row/col are not a table and then reassign it but it might not be the right way to do, just stopping the error without refactoring to much code.
Not sure where the problem lies.
I will try to reproduce with a lighter config and share it.
The text was updated successfully, but these errors were encountered: