From bed6dc59146ad2bd30913687d407aba9041c1327 Mon Sep 17 00:00:00 2001 From: Linnnus Date: Sat, 12 Oct 2024 18:03:32 +0200 Subject: muhammed: Don't enable inlay hints This commit partially reverts 386d237f. I think this configuration line was causing errors because my neovim version config didn't actually support the feature. --- hosts/muhammed/home/neovim/lsp.nix | 3 --- 1 file changed, 3 deletions(-) (limited to 'hosts/muhammed/home/neovim') diff --git a/hosts/muhammed/home/neovim/lsp.nix b/hosts/muhammed/home/neovim/lsp.nix index 134c5e6..0c7a642 100644 --- a/hosts/muhammed/home/neovim/lsp.nix +++ b/hosts/muhammed/home/neovim/lsp.nix @@ -41,9 +41,6 @@ vim.keymap.set('n', 'gr', vim.lsp.buf.references, bufopts) vim.keymap.set('n', 'f', function() vim.lsp.buf.format { async = true } end, bufopts) vim.keymap.set('n', 's', function() vim.cmd[[ClangdSwitchSourceHeader]] end, bufopts) - - -- Rust-analyzer supports inlay hints - vim.lsp.inlay_hint.enable(true, { bufnr = bufnr }) end -- Use a loop to conveniently call 'setup' on multiple servers and -- cgit v1.2.3