From 877b59d5c535216b29b40fd50996eb0083c91f06 Mon Sep 17 00:00:00 2001 From: Janis Hutz Date: Tue, 3 Jun 2025 09:09:59 +0200 Subject: [PATCH] [LSP] Finish rust_analyzer setup --- nvim/lua/plugins/lsp/lspconfig.lua | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/nvim/lua/plugins/lsp/lspconfig.lua b/nvim/lua/plugins/lsp/lspconfig.lua index ed4667b..ca93571 100755 --- a/nvim/lua/plugins/lsp/lspconfig.lua +++ b/nvim/lua/plugins/lsp/lspconfig.lua @@ -49,14 +49,16 @@ return { -- ┌ ┐ -- │ Rust │ -- └ ┘ - vim.lsp.config("rust_analyzer", { + lspconfig.rust_analyzer.setup({ settings = { ["rust-analyzer"] = { diagnostics = { - enable = false, + enable = true, }, }, }, + capabilities = capabilities, + on_attach = on_attach, }) -- ┌ ┐