fix(nvim): ensure diag signs/hls set

This commit is contained in:
Price Hiller 2024-02-20 22:02:14 -06:00
parent 3e4d1f63ec
commit fad676b867
Signed by: Price
GPG Key ID: C3FADDE7A8534BEB
2 changed files with 18 additions and 4 deletions

View File

@ -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",

View File

@ -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 } },