fix(nvim): ensure diag signs/hls set
This commit is contained in:
parent
3e4d1f63ec
commit
fad676b867
@ -16,6 +16,20 @@ M.setup = function()
|
||||
severity_sort = true,
|
||||
underline = true,
|
||||
update_in_insert = false,
|
||||
signs = {
|
||||
text = {
|
||||
[vim.diagnostic.severity.ERROR] = "",
|
||||
[vim.diagnostic.severity.WARN] = "",
|
||||
[vim.diagnostic.severity.INFO] = "",
|
||||
[vim.diagnostic.severity.HINT] = "",
|
||||
},
|
||||
numhl = {
|
||||
[vim.diagnostic.severity.ERROR] = "",
|
||||
[vim.diagnostic.severity.WARN] = "",
|
||||
[vim.diagnostic.severity.INFO] = "",
|
||||
[vim.diagnostic.severity.HINT] = "",
|
||||
}
|
||||
},
|
||||
float = {
|
||||
focusable = true,
|
||||
style = "minimal",
|
||||
|
@ -53,13 +53,13 @@ return {
|
||||
{ "Winbar", { bg = nil } },
|
||||
{ "StatusLineNC", { bg = nil } },
|
||||
{ "WinBarNC", { bg = nil } },
|
||||
{ "DiagnosticSignErrorCul", { link = "DiagnosticSignError" } },
|
||||
{ "DiagnosticSignWarnCul", { link = "DiagnosticSignWarn" } },
|
||||
{ "DiagnosticSignInfoCul", { link = "DiagnosticSignInfo" } },
|
||||
{ "DiagnosticSignHintCul", { link = "DiagnosticSignHint" } },
|
||||
{ "CursorLineNr", { fg = colors.roninYellow, bg = palette.theme.ui.bg_m1 } },
|
||||
{ "CursorLineFold", { fg = colors.crystalBlue, bg = palette.theme.ui.bg_m1 } },
|
||||
{ "CursorLineSign", { bg = palette.theme.ui.bg_m1 } },
|
||||
{ "DiagnosticSignErrorCul", { fg = palette.theme.diag.error, bg = palette.theme.ui.bg_m1 } },
|
||||
{ "DiagnosticSignWarnCul", { fg = palette.theme.diag.warning, bg = palette.theme.ui.bg_m1 } },
|
||||
{ "DiagnosticSignInfoCul", { fg = palette.theme.diag.info, bg = palette.theme.ui.bg_m1 } },
|
||||
{ "DiagnosticSignHintCul", { fg = palette.theme.diag.hint, bg = palette.theme.ui.bg_m1 } },
|
||||
{ "LightBulbSign", { fg = colors.crystalBlue, bg = palette.theme.ui.bg_m1 } },
|
||||
{ "WinSeparator", { fg = colors.fujiGray } },
|
||||
{ "StatusLine", { fg = colors.fujiWhite, bg = colors.sumiInk0 } },
|
||||
|
Loading…
Reference in New Issue
Block a user