Skip to content

Commit

Permalink
fix(nvim): inlay hints api change
Browse files Browse the repository at this point in the history
  • Loading branch information
caarlos0 committed Apr 26, 2024
1 parent e8477d5 commit 7c65a48
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion modules/neovim/config/lua/lsp_autocommands.lua
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ M.setup = function()
return
end
if has_clients_with_method(0, ms.textDocument_inlayHint) then
vim.lsp.inlay_hint.enable(0, true)
vim.lsp.inlay_hint.enable(true, { buffer = 0 })
end
end,
})
Expand Down

0 comments on commit 7c65a48

Please sign in to comment.