feat(vim): sort lsp diagnostics by severity
This commit is contained in:
parent
266ada0e90
commit
840e0d2670
1 changed files with 6 additions and 0 deletions
|
@ -546,6 +546,12 @@
|
|||
|
||||
highlight! ExtraWhitespace guibg=${theme.normal.red}
|
||||
match ExtraWhitespace /\s\+$/
|
||||
|
||||
lua <<EOF
|
||||
vim.diagnostic.config {
|
||||
severity_sort = true,
|
||||
}
|
||||
EOF
|
||||
'';
|
||||
};
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue