feat(vim): sort lsp diagnostics by severity

This commit is contained in:
buffet 2023-01-25 13:06:19 +01:00
parent 266ada0e90
commit 840e0d2670

View file

@ -546,6 +546,12 @@
highlight! ExtraWhitespace guibg=${theme.normal.red} highlight! ExtraWhitespace guibg=${theme.normal.red}
match ExtraWhitespace /\s\+$/ match ExtraWhitespace /\s\+$/
lua <<EOF
vim.diagnostic.config {
severity_sort = true,
}
EOF
''; '';
}; };
}; };