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

inlay_hint.lua:383: enable: expected boolean, got table #456

Closed
bryanmaina opened this issue Apr 30, 2024 · 2 comments
Closed

inlay_hint.lua:383: enable: expected boolean, got table #456

bryanmaina opened this issue Apr 30, 2024 · 2 comments

Comments

@bryanmaina
Copy link

I am running into the following error every time I invoke lspsaga peek definition (before it peek definition shows up the error is thrown - peek definition shows up fine - then the same error appears again after closing peek definition) but it seem like the problem is connected to go.nvim.

Error executing vim.schedule lua callback: /usr/share/nvim/runtime/lua/vim/lsp/inlay_hint.lua:383: enable: expected boolean, got table
stack traceback:
        [C]: in function 'error'
        vim/shared.lua: in function 'validate'
        /usr/share/nvim/runtime/lua/vim/lsp/inlay_hint.lua:383: in function 'enable'
        ...are/nvim/site/pack/packer/start/go.nvim/lua/go/inlay.lua:322: in function ''
        vim/_editor.lua: in function <vim/_editor.lua:0>
Press ENTER or type command to continue 
@ray-x
Copy link
Owner

ray-x commented May 1, 2024

#454
Might need multiple updates to get things to work...

@Maduki-tech
Copy link

If you update to the latest Neovim Version. The error should be fixed. Seems like this code is already setup for the new Nvim Nighly version.

@ray-x ray-x closed this as completed May 9, 2024
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

3 participants