Updated neovim config for v0.12
This commit is contained in:
parent
dec884da2f
commit
d3b54ea921
6 changed files with 33 additions and 26 deletions
18
neovim/config/diagnostics.lua
Normal file
18
neovim/config/diagnostics.lua
Normal file
|
|
@ -0,0 +1,18 @@
|
|||
local sev = vim.diagnostic.severity
|
||||
|
||||
vim.diagnostic.config({
|
||||
severity_sort = true,
|
||||
update_in_insert = false,
|
||||
float = {
|
||||
border = 'rounded',
|
||||
source = true,
|
||||
},
|
||||
signs = {
|
||||
text = {
|
||||
[sev.ERROR] = 'E',
|
||||
[sev.WARN] = 'W',
|
||||
[sev.INFO] = 'I',
|
||||
[sev.HINT] = 'H',
|
||||
},
|
||||
},
|
||||
})
|
||||
Loading…
Reference in a new issue