fix rust analyzer lsp
This commit is contained in:
parent
24a905d34a
commit
64e24c08f6
1 changed files with 12 additions and 0 deletions
|
@ -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()
|
||||
|
||||
|
|
Loading…
Reference in a new issue