errors and warnings shouldn't get mixed up

This commit is contained in:
Haak Saxberg 2023-06-15 13:56:39 -07:00
parent 04232be13b
commit c47e212164

View file

@ -82,8 +82,8 @@ nvim_lsp.diagnosticls.setup {
security = 'severity' security = 'severity'
}, },
securities = { securities = {
[2] = 'error', [1] = 'error',
[1] = 'warning' [2] = 'warning'
} }
}, },
markdownlint = { markdownlint = {
@ -131,6 +131,11 @@ nvim_lsp.diagnosticls.setup {
scss = 'prettier', scss = 'prettier',
typescript = 'prettier', typescript = 'prettier',
typescriptreact = 'prettier', typescriptreact = 'prettier',
markdown = 'prettier',
-- This implies that you have installed a prisma-supporting plugin for
-- prettier. You could instead configure this formatter to be `npx prisma format`
-- directly, but that command doesn't seem to output in the way this
-- diagnostic server expects.
prisma = 'prettier' prisma = 'prettier'
} }
} }