Skip to content

Commit

Permalink
fix(nvim): inlay_hints
Browse files Browse the repository at this point in the history
  • Loading branch information
caarlos0 committed Jul 5, 2023
1 parent 3fd4793 commit 9d49ecd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion modules/neovim/config/lua/user/lsp.lua
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ local keymaps = require("lsp_keymaps")
-- after the language server attaches to the current buffer
local on_attach = function(client, bufnr)
if client.server_capabilities.inlayHintProvider then
vim.lsp.buf.inlay_hint(bufnr, true)
vim.lsp.inlay_hint(bufnr, true)
end
autocmds.on_attach(client, bufnr)
keymaps.on_attach(bufnr)
Expand Down

0 comments on commit 9d49ecd

Please sign in to comment.