Closed 1995parham closed 7 months ago
It seems something modified the internal vim.lsp.inlay_hint. It is type is function for neovim nightly and it is nil for release version
Yes, you are right. Yesterday neovim merged https://github.com/neovim/neovim/issues/25069, I think a change is required in the code to make it compatible with the upcoming release.
Changing this line from
vim.lsp.inlay_hint(bufnr, enabled)
to
vim.lsp.inlay_hint.enable(bufnr, enabled)
fixed it for me.
It looks like they changed the API to enable more lsp interactions with inlay hints.
@ray-x what do you think about providing MR for changing this by version constraint?
Update pushed. I have to drop support for users who stay with the old version of nightly.
Awesome :heart_eyes: :woman_dancing:
I am using the nightly build of neovim and recently I've got the following error: