I'm doing a mapping that runs vim.lsp.buf_code_action and getting the error listed here. Nvim v0.8.3. (Will update after upgrading to 0.9.) telescope. Happens in both rust projects and nvim lua configs.
Error executing vim.schedule lua callback: ...e-ui-select.nvim/lua/telescope/_extensions/ui-select.lua:32: attempt to index field 'version' (a function value)
stack traceback:
...e-ui-select.nvim/lua/telescope/_extensions/ui-select.lua:32: in function <...e-ui-select.nvim/lua/telescope/_extensions/ui-select.lua:23>
...e-ui-select.nvim/lua/telescope/_extensions/ui-select.lua:106: in function 'select'
/usr/share/nvim/runtime/lua/vim/lsp/buf.lua:868: in function 'on_code_action_results'
/usr/share/nvim/runtime/lua/vim/lsp/buf.lua:886: in function 'callback'
/usr/share/nvim/runtime/lua/vim/lsp.lua:1952: in function 'handler'
/usr/share/nvim/runtime/lua/vim/lsp.lua:1383: in function ''
vim/_editor.lua: in function <vim/_editor.lua:0>
1 more line; before #3 21 seconds ago
1 more line; before #2 24 seconds ago
I'm doing a mapping that runs
vim.lsp.buf_code_action
and getting the error listed here. Nvim v0.8.3. (Will update after upgrading to 0.9.) telescope. Happens in both rust projects and nvim lua configs.