summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLinnnus <[email protected]>2024-10-12 18:03:32 +0200
committerLinnnus <[email protected]>2024-10-12 19:21:53 +0200
commitbed6dc59146ad2bd30913687d407aba9041c1327 (patch)
tree1a0d9c3d3ac36512fce4cc256911594da2b30455
parent6f7b41f94f4707116c91c30d15abc43b100762b6 (diff)
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.
-rw-r--r--hosts/muhammed/home/neovim/lsp.nix3
1 files changed, 0 insertions, 3 deletions
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', '<leader>f', function() vim.lsp.buf.format { async = true } end, bufopts)
vim.keymap.set('n', '<leader>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