Skip to content
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 when trying to display code action #43

Open
flowrean-marcus opened this issue Jan 5, 2024 · 2 comments
Open

Error when trying to display code action #43

flowrean-marcus opened this issue Jan 5, 2024 · 2 comments

Comments

@flowrean-marcus
Copy link

Hello, I am having an issue when I am trying to display lsp code actions with telescope-ui-select. Details below.

nvim -v:

NVIM v0.8.3
Build type: Release
LuaJIT 2.1.0-beta3
Compiled by [email protected]

Features: +acl +iconv +tui
See ":help feature-compile"

   system vimrc file: "$VIM/sysinit.vim"
  fall-back for $VIM: "/opt/homebrew/Cellar/neovim/0.8.3/share/nvim"

Run :checkhealth for more info

Trace:

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/teles
cope/_extensions/ui-select.lua:23>
        ...e-ui-select.nvim/lua/telescope/_extensions/ui-select.lua:106: in function 'select'
        ...llar/neovim/0.8.3/share/nvim/runtime/lua/vim/lsp/buf.lua:868: in function 'on_code_action_results'
        ...llar/neovim/0.8.3/share/nvim/runtime/lua/vim/lsp/buf.lua:886: in function 'callback'
        ...w/Cellar/neovim/0.8.3/share/nvim/runtime/lua/vim/lsp.lua:1952: in function 'handler'
        ...w/Cellar/neovim/0.8.3/share/nvim/runtime/lua/vim/lsp.lua:1383: in function ''
        vim/_editor.lua: in function <vim/_editor.lua:0>
@flowrean-marcus
Copy link
Author

It seems that upgrading neovim to the latest stable version fixed the issue which is weird since the README said the minimum version that the plugin is compatible with is v0.7.

@roy-law
Copy link

roy-law commented Mar 24, 2024

@flowrean-marcus upgrading to the latest neovim works for me! Thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants