errors and warnings shouldn't get mixed up
This commit is contained in:
parent
04232be13b
commit
c47e212164
1 changed files with 7 additions and 2 deletions
|
|
@ -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'
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue