migration to 0.12 complete

This commit is contained in:
Zoty 2026-04-13 16:03:54 -03:00
parent 94fedd08d5
commit bf3e4855b9
Signed by: Zoty
SSH key fingerprint: SHA256:WsGEGivgl37t3Mth6uugXMOgMCTR7QolIepNbC+j/tA
2 changed files with 30 additions and 8 deletions

View file

@ -25,7 +25,7 @@ vim.lsp.enable({
vim.api.nvim_create_autocmd("LspAttach", {
callback = function(ev)
local client = vim.lsp.get_client_by_id(ev.data.client_id)
if client and client.supports_method('textDocument/inlayHint') then
if client and client:supports_method('textDocument/inlayHint') then
vim.lsp.inlay_hint.enable(true, { bufnr = ev.buf })
end