feat!: enabled inlay hints

This commit is contained in:
2024-06-27 12:05:50 +02:00
parent 78b65a970b
commit 06f82c219d
2 changed files with 12 additions and 7 deletions

View File

@@ -32,6 +32,7 @@ return {
},
}
end,
config = true,
},
{
"neovim/nvim-lspconfig",
@@ -112,6 +113,10 @@ return {
vim.keymap.set("i", "<C-h>", function()
vim.lsp.buf.signature_help()
end, lsp_opts)
if opts.inlay_hints.enabled and client.supports_method("textDocument/inlayHint") then
vim.lsp.inlay_hint.enable(true)
end
end,
})