only show errors for nvim virtual text
This commit is contained in:
parent
df708eea38
commit
938189df83
|
@ -295,6 +295,14 @@ in
|
|||
|
||||
" lua config
|
||||
lua <<EOF
|
||||
-- lsp config
|
||||
-- only show errors with virtual text
|
||||
vim.diagnostic.config = ({
|
||||
virtual_text = {
|
||||
severity = { min = vim.diagnostic.severity.ERROR }
|
||||
}
|
||||
})
|
||||
|
||||
-- autopairs
|
||||
require('nvim-autopairs').setup{}
|
||||
|
||||
|
|
Loading…
Reference in a new issue