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

vim.lsp.protocol.Methods is null #708

Closed
JonasKru opened this issue Oct 6, 2023 · 1 comment · Fixed by #709
Closed

vim.lsp.protocol.Methods is null #708

JonasKru opened this issue Oct 6, 2023 · 1 comment · Fixed by #709

Comments

@JonasKru
Copy link

JonasKru commented Oct 6, 2023

I just updated to the latest version after migrating to the new setup last week.
Now when I start neovim I get the following message:

E5113: Error while calling lua chunk: ...ta\plugged\indent-blankline.nvim/lua/ibl/inlay_hints.lua:42: attempt to index field 'Methods' (a nil value)
stack traceback:
        ...ta\plugged\indent-blankline.nvim/lua/ibl/inlay_hints.lua:42: in function 'setup'
        ...nvim-data\plugged\indent-blankline.nvim/lua/ibl/init.lua:43: in function 'setup'
        ...nvim-data\plugged\indent-blankline.nvim/lua/ibl/init.lua:59: in function 'setup'
        ...vim\Neovim\plugins\indent-blankline\indent-blankline.lua:49: in main chunk

and when I run: lua print(vim.lsp.protocol.Methods) I get nil.

lukas-reineke added a commit that referenced this issue Oct 6, 2023
lukas-reineke added a commit that referenced this issue Oct 6, 2023
@lukas-reineke
Copy link
Owner

Sorry, didn't notice vim.lsp.protocol.Methods is nightly only.

I pushed a fix, should work now.

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

Successfully merging a pull request may close this issue.

2 participants