fix!: remove inlay hints to avoid weird problems

This commit is contained in:
2024-06-24 12:57:52 +02:00
parent 8aaf7d9015
commit 9a462d6fc0

View File

@@ -82,13 +82,6 @@ return {
local lsp_opts = { buffer = buffer, remap = false, nowait = true }
local client = vim.lsp.get_client_by_id(args.data.client_id)
-- TODO: Make this work once inlay hints are supported in the non-nightly nvim build
if opts.inlay_hints.enabled then
if client.supports_method("textDocument/inlayHint") then
vim.lsp.inlay_hint.enable(true)
end
end
vim.keymap.set("n", "gd", function()
vim.lsp.buf.definition()
end, lsp_opts)