ayamir / nvimdots

A well configured and structured Neovim.
BSD 3-Clause "New" or "Revised" License
2.91k stars 458 forks source link

fix: inlay_hint error #1236

Closed Mythos-404 closed 5 months ago

Mythos-404 commented 5 months ago

After the commit f1dfe32 in neovim, the function vim.lsp.inlay_hint.enable(buffer_number, enable) was changed to vim.lsp.inlay_hint.enable(enable: boolean, filter: table), where the original approach would lead to an error.

I suspect there could be further changes to this API.

CharlesChiuGit commented 5 months ago

cc https://neovim.io/doc/user/lsp.html#lsp-inlay_hint