Barely working diagnostics
This commit is contained in:
parent
794f89cc67
commit
458f9a289e
1 changed files with 9 additions and 0 deletions
9
init.lua
9
init.lua
|
|
@ -80,3 +80,12 @@ vim.lsp.config('rust_analyzer', {
|
||||||
})
|
})
|
||||||
|
|
||||||
vim.lsp.enable({'clangd','lua_ls','rust_analyzer'})
|
vim.lsp.enable({'clangd','lua_ls','rust_analyzer'})
|
||||||
|
|
||||||
|
vim.diagnostic.enable(true)
|
||||||
|
vim.diagnostic.config({
|
||||||
|
virtual_text = true,
|
||||||
|
severity_sort = true,
|
||||||
|
float = {
|
||||||
|
source = "always",
|
||||||
|
}
|
||||||
|
})
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue