mirror of
https://github.com/nvim-lua/kickstart.nvim.git
synced 2026-03-29 17:21:29 +00:00
Add underline for warnings
This commit is contained in:
parent
7cc245ecaf
commit
dabce46993
2
init.lua
2
init.lua
@ -177,7 +177,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
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user