From 64e24c08f663554c13286f0a4370bcac3e7fd8cf Mon Sep 17 00:00:00 2001 From: Freya Murphy Date: Thu, 5 Dec 2024 11:36:26 -0500 Subject: [PATCH] fix rust analyzer lsp --- home/config/nvim/lua/lsp.lua | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/home/config/nvim/lua/lsp.lua b/home/config/nvim/lua/lsp.lua index 2eedde3..86aac04 100644 --- a/home/config/nvim/lua/lsp.lua +++ b/home/config/nvim/lua/lsp.lua @@ -66,6 +66,18 @@ require('lspconfig/prolog_lsp') require('lspconfig').gleam.setup {} +require('lspconfig').rust_analyzer.setup { + settings = { + ["rust-analyzer"] = { + diagnostics = { + enable = true, + disabled = {"unresolved-proc-macro"}, + enableExperimental = true, + }, + }, + }, +} + lsp.configure('prolog_lsp', {force_setup = true}) lsp.setup()