This commit is contained in:
Benjamin Kyd
2023-03-12 17:49:41 +00:00
parent 0fd0215f7a
commit 6b8cd02766

View File

@@ -38,6 +38,19 @@ require('rust-tools').setup {
}
}
-- Specific LSP
lspconfig.rust_analyzer.setup {
settings = {
["rust-analyzer"] = {
diagnostics = {
enable = true,
disabled = {"unresolved-proc-macro"},
enableExperimental = true,
},
},
},
}
-- diagnostic symbols
local signs = { Error = "", Warn = "", Hint = "", Info = "" }
for type, icon in pairs(signs) do