fix rust analyzer lsp

This commit is contained in:
Murphy 2024-12-05 11:36:26 -05:00
parent 24a905d34a
commit 64e24c08f6
Signed by: freya
GPG key ID: 9FBC6FFD6D2DBF17

View file

@ -66,6 +66,18 @@ require('lspconfig/prolog_lsp')
require('lspconfig').gleam.setup {} 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.configure('prolog_lsp', {force_setup = true})
lsp.setup() lsp.setup()