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()