Issafalcon/lsp-overloads.nvim

Error in WinClosed Autocommands

Opened this issue · 1 comments

I've been getting this error when coding in c++. It happens when I have a signature window, and I press another key like > that triggers the window again. This might have started happening after I updated to 0.10? Not sure what the cause is.

Screen.Recording.2024-08-01.at.11.20.17.AM.mov
Error executing vim.schedule lua callback: ...mylibraries/nvim/share/nvim/runtime/lua/vim/lsp/util.lua:1722: WinClosed Autocommands for "1017": Vim(append):Error executing lua callback: ...sp-overloads.nvim/lua/lsp-overloads/models/signature.lua:114: Error executing lua: Vim:E460: Entries missing in mapset() dict argument
stack traceback:
	[C]: in function 'mapset'
	...sp-overloads.nvim/lua/lsp-overloads/models/signature.lua:115: in function <...sp-overloads.nvim/lua/lsp-overloads/models/signature.lua:114>
	[C]: in function 'nvim_buf_call'
	...sp-overloads.nvim/lua/lsp-overloads/models/signature.lua:114: in function 'remove_mappings'
	...zy/lsp-overloads.nvim/lua/lsp-overloads/autocommands.lua:16: in function <...zy/lsp-overloads.nvim/lua/lsp-overloads/autocommands.lua:11>
	[C]: in function 'nvim_win_close'
	...mylibraries/nvim/share/nvim/runtime/lua/vim/lsp/util.lua:1722: in function 'open_floating_preview'
	...sp-overloads.nvim/lua/lsp-overloads/models/signature.lua:145: in function 'create_signature_popup'
	...m/lazy/lsp-overloads.nvim/lua/lsp-overloads/handlers.lua:81: in function 'handler'
	...libraries/nvim/share/nvim/runtime/lua/vim/lsp/client.lua:685: in function ''
	vim/_editor.lua: in function <vim/_editor.lua:0>
stack traceback:
	[C]: in function 'nvim_buf_call'
	...sp-overloads.nvim/lua/lsp-overloads/models/signature.lua:114: in function 'remove_mappings'
	...zy/lsp-overloads.nvim/lua/lsp-overloads/autocommands.lua:16: in function <...zy/lsp-overloads.nvim/lua/lsp-overloads/autocommands.lua:11>
	[C]: in function 'nvim_win_close'
	...mylibraries/nvim/share/nvim/runtime/lua/vim/lsp/util.lua:1722: in function 'open_floating_preview'
	...sp-overloads.nvim/lua/lsp-overloads/models/signature.lua:145: in function 'create_signature_popup'
	...m/lazy/lsp-overloads.nvim/lua/lsp-overloads/handlers.lua:81: in function 'handler'
	...libraries/nvim/share/nvim/runtime/lua/vim/lsp/client.lua:685: in function ''
	vim/_editor.lua: in function <vim/_editor.lua:0>
stack traceback:
	[C]: in function 'nvim_win_close'
	...mylibraries/nvim/share/nvim/runtime/lua/vim/lsp/util.lua:1722: in function 'open_floating_preview'
	...sp-overloads.nvim/lua/lsp-overloads/models/signature.lua:145: in function 'create_signature_popup'
	...m/lazy/lsp-overloads.nvim/lua/lsp-overloads/handlers.lua:81: in function 'handler'
	...libraries/nvim/share/nvim/runtime/lua/vim/lsp/client.lua:685: in function ''
	vim/_editor.lua: in function <vim/_editor.lua:0>

Hi @williamhCode. I'm just getting round to addressing issues raised against my plugins. Life changes have meant I've had to move these side projects of mine to lower priority, but just posting to say it's still on my radar to fix, and I'll get back to it as soon as I can.