From 9a462d6fc02eb7dcd7a886ce68c203966a84ae99 Mon Sep 17 00:00:00 2001 From: 409 Date: Mon, 24 Jun 2024 12:57:52 +0200 Subject: [PATCH] fix!: remove inlay hints to avoid weird problems --- lua/409/plugins/lsp.lua | 7 ------- 1 file changed, 7 deletions(-) diff --git a/lua/409/plugins/lsp.lua b/lua/409/plugins/lsp.lua index 86bac7b..265e049 100644 --- a/lua/409/plugins/lsp.lua +++ b/lua/409/plugins/lsp.lua @@ -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)