diff --git a/lua/keymaps.lua b/lua/keymaps.lua index 2a2ca11..b0af383 100644 --- a/lua/keymaps.lua +++ b/lua/keymaps.lua @@ -11,7 +11,7 @@ vim.diagnostic.config { update_in_insert = false, severity_sort = true, float = { border = 'rounded', source = 'if_many' }, - underline = { severity = vim.diagnostic.severity.ERROR }, + underline = { severity = { min = vim.diagnostic.severity.WARN } }, -- Can switch between these as you prefer virtual_text = true, -- Text shows up at the end of the line