From a2c2022d7d1eff310f81395f2cb62512e763aec0 Mon Sep 17 00:00:00 2001 From: itsscb Date: Tue, 1 Apr 2025 20:55:57 +0200 Subject: [PATCH] feat: add rust-analyzer lsp-server --- init.lua | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/init.lua b/init.lua index 28a48b3..f4085b6 100644 --- a/init.lua +++ b/init.lua @@ -678,7 +678,15 @@ require('lazy').setup({ -- clangd = {}, -- gopls = {}, -- pyright = {}, - -- rust_analyzer = {}, + rust_analyzer = { + settings = { + ['rust-analyzer'] = { + diagnostics = { + enable = false, + } + } + } + }, -- ... etc. See `:help lspconfig-all` for a list of all the pre-configured LSPs -- -- Some languages (like typescript) have entire language plugins that can be useful: