Skip to content

Commit

Permalink
fix(lsp): follow api changes
Browse files Browse the repository at this point in the history
  • Loading branch information
gametaro committed Nov 15, 2023
1 parent eac750d commit 2ed3cce
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion home/dot_config/nvim/lua/ky/lsp.lua
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,7 @@ local function on_attach(client, buf)
vim.keymap.set({ 'n', 'x' }, '<M-f>', format, { buffer = buf, desc = 'Format' })

if client.server_capabilities.inlayHintProvider then
vim.lsp.inlay_hint(buf, true)
vim.lsp.inlay_hint.enable(buf, true)
end
end

Expand Down

0 comments on commit 2ed3cce

Please sign in to comment.