Closed ShampooDeng closed 4 months ago
A quick fix is to change parameter of vim.lsp.inlay_hint.is_enable()
in ~/.local/share/nvim/lazy/rustaceanvim/lua/rustaceanvim
What did I just said, this is fixed with NVIM v0.10.0 Build type: Release LuaJIT 2.1.1716656478 Run "nvim -V1 -v" for more info
What did I just said, this is fixed with NVIM v0.10.0 Build type: Release LuaJIT 2.1.1716656478 Run "nvim -V1 -v" for more info
Error executing vim.schedule lua callback: ...im-linux64/share/nvim/runtime/lua/vim/lsp/inlay_hint.lua:356: bufnr: expected number, got table stack traceback:
[C]: in function 'error'
vim/shared.lua: in function 'validate'
...im-linux64/share/nvim/runtime/lua/vim/lsp/inlay_hint.lua:356: in function 'is_enabled'
...vim/lazy/rustaceanvim/lua/rustaceanvim/server_status.lua:21: in function 'handler'
...o/nvim-linux64/share/nvim/runtime/lua/vim/lsp/client.lua:1013: in function ''
vim/_editor.lua: in function <vim/_editor.lua:0>
This is due to that
vim.lsp.inlay_hint.is_enable()
is different from the ones in future version of neovim. I noticed that this api is no longer unstable in current doc of neovim.This problem should no longer exist when proper update arrives in the future, and this issue will be closed at that point.