only show errors for nvim virtual text

This commit is contained in:
Anish L 2022-04-02 00:17:28 +10:00
parent df708eea38
commit 938189df83

View file

@ -295,6 +295,14 @@ in
" lua config " lua config
lua <<EOF lua <<EOF
-- lsp config
-- only show errors with virtual text
vim.diagnostic.config = ({
virtual_text = {
severity = { min = vim.diagnostic.severity.ERROR }
}
})
-- autopairs -- autopairs
require('nvim-autopairs').setup{} require('nvim-autopairs').setup{}