fix: warnings color

dev-remaster
Pocco81 3 years ago
parent 628996c8c0
commit 5a9553dd65

@ -6,17 +6,17 @@ function M.get(cp)
return {
BufferCurrent = { bg = cp.catppuccino13, fg = cp.catppuccino11 },
BufferCurrentIndex = { bg = cp.catppuccino13, fg = cp.info },
BufferCurrentMod = { bg = cp.catppuccino13, fg = cp.warning },
BufferCurrentMod = { bg = cp.catppuccino13, fg = cp.catppuccino9 },
BufferCurrentSign = { bg = cp.catppuccino13, fg = cp.info },
BufferCurrentTarget = { bg = cp.catppuccino13, fg = cp.catppuccino6 },
BufferVisible = { bg = cp.catppuccino15, fg = cp.catppuccino11 },
BufferVisibleIndex = { bg = cp.catppuccino15, fg = cp.info },
BufferVisibleMod = { bg = cp.catppuccino15, fg = cp.warning },
BufferVisibleMod = { bg = cp.catppuccino15, fg = cp.catppuccino9 },
BufferVisibleSign = { bg = cp.catppuccino15, fg = cp.info },
BufferVisibleTarget = { bg = cp.catppuccino15, fg = cp.catppuccino6 },
BufferInactive = { bg = cp.catppuccino15, fg = cp.catppuccino12 },
BufferInactiveIndex = { bg = cp.catppuccino15, fg = cp.catppuccino12 },
BufferInactiveMod = { bg = cp.catppuccino15, fg = util.darken(cp.warning, 0.7) },
BufferInactiveMod = { bg = cp.catppuccino15, fg = util.darken(cp.catppuccino9, 0.7) },
BufferInactiveSign = { bg = cp.catppuccino15, fg = cp.catppuccino10 },
BufferInactiveTarget = { bg = cp.catppuccino15, fg = cp.catppuccino6 },
BufferTabpages = { bg = cp.catppuccino15, fg = cp.none },

@ -3,7 +3,7 @@ local M = {}
function M.get(cp)
return {
DiagnosticError = { fg = cp.catppuccino6 },
DiagnosticWarning = { fg = cp.warning },
DiagnosticWarning = { fg = cp.catppuccino9 },
DiagnosticInformation = { fg = cp.info },
DiagnosticHint = { fg = cp.hint },
LspFloatWinNormal = { bg = cp.catppuccino14 },

@ -14,12 +14,12 @@ function M.get(cp)
LspReferenceWrite = { bg = cp.catppuccino13 }, -- used for highlighting "write" references
-- hightlight diagnostics in numberline
DiagnosticError = { fg = cp.catppuccino6 }, -- Used as the base highlight group. Other Diagnostic highlights link to this by default
DiagnosticWarn = { fg = cp.warning }, -- Used as the base highlight group. Other Diagnostic highlights link to this by default
DiagnosticWarn = { fg = cp.catppuccino9 }, -- Used as the base highlight group. Other Diagnostic highlights link to this by default
DiagnosticInfo = { fg = cp.info }, -- Used as the base highlight group. Other Diagnostic highlights link to this by default
DiagnosticHint = { fg = cp.hint }, -- Used as the base highlight group. Other Diagnostic highlights link to this by default
LspDiagnosticsDefaultError = { fg = cp.catppuccino6 }, -- Used as the base highlight group. Other LspDiagnostic highlights link to this by default (except Underline)
LspDiagnosticsDefaultWarning = { fg = cp.warning }, -- Used as the base highlight group. Other LspDiagnostic highlights link to this by default (except Underline)
LspDiagnosticsDefaultWarning = { fg = cp.catppuccino9 }, -- Used as the base highlight group. Other LspDiagnostic highlights link to this by default (except Underline)
LspDiagnosticsDefaultInformation = { fg = cp.info }, -- Used as the base highlight group. Other LspDiagnostic highlights link to this by default (except Underline)
LspDiagnosticsDefaultHint = { fg = cp.hint }, -- Used as the base highlight group. Other LspDiagnostic highlights link to this by default (except Underline)
LspSignatureActiveParameter = { fg = cp.catppuccino7 },
@ -29,15 +29,15 @@ function M.get(cp)
-- LspDiagnosticsFloatingHint = { }, -- Used to color "Hint" diagnostic messages in diagnostics float
LspDiagnosticsError = { fg = cp.catppuccino6 },
LspDiagnosticsWarning = { fg = cp.warning },
LspDiagnosticsWarning = { fg = cp.catppuccino9 },
LspDiagnosticsInformation = { fg = cp.info },
LspDiagnosticsHint = { fg = cp.hint },
LspDiagnosticsVirtualTextError = { fg = cp.catppuccino6, style = virtual_text.errors }, -- Used for "Error" diagnostic virtual text
LspDiagnosticsVirtualTextWarning = { fg = cp.warning, style = virtual_text.warnings }, -- Used for "Warning" diagnostic virtual text
LspDiagnosticsVirtualTextWarning = { fg = cp.catppuccino9, style = virtual_text.warnings }, -- Used for "Warning" diagnostic virtual text
LspDiagnosticsVirtualTextInformation = { fg = cp.info, style = virtual_text.warnings }, -- Used for "Information" diagnostic virtual text
LspDiagnosticsVirtualTextHint = { fg = cp.hint, style = virtual_text.hints }, -- Used for "Hint" diagnostic virtual text
LspDiagnosticsUnderlineError = { style = underlines.errors, sp = cp.catppuccino6 }, -- Used to underline "Error" diagnostics
LspDiagnosticsUnderlineWarning = { style = underlines.warnings, sp = cp.warning }, -- Used to underline "Warning" diagnostics
LspDiagnosticsUnderlineWarning = { style = underlines.warnings, sp = cp.catppuccino9 }, -- Used to underline "Warning" diagnostics
LspDiagnosticsUnderlineInformation = { style = underlines.information, sp = cp.info }, -- Used to underline "Information" diagnostics
LspDiagnosticsUnderlineHint = { style = underlines.hints, sp = cp.hint }, -- Used to underline "Hint" diagnostics
LspCodeLens = { fg = cp.catppuccino12 }, -- virtual text of the codelens

@ -15,7 +15,7 @@ function M.get(cp)
-- TSCharacter = { }; -- For characters.
-- TScatppuccino12 = { }; -- For catppuccino12 blocks.
TSNote = { fg = cp.catppuccino2, bg = cp.info },
TSWarning = { fg = cp.catppuccino2, bg = cp.warning },
TSWarning = { fg = cp.catppuccino2, bg = cp.catppuccino9 },
TSDanger = { fg = cp.catppuccino2, bg = cp.catppuccino6 },
TSConstructor = { fg = cp.catppuccino5 }, -- For constructor calls and definitions: `= { }` in Lua, and Java constructors.
TSConditional = { fg = cp.catppuccino6, style = cnf.styles.keywords }, -- For keywords related to conditionnals.

@ -61,7 +61,7 @@ local function get_base()
IncSearch = { bg = cp.catppuccino3, fg = cp.black }, -- 'incsearch' highlighting; also used for the text replaced with ":s///c"
SpecialKey = { fg = cp.catppuccino11 }, -- Unprintable characters: text displayed differently from what it really is. But not 'listchars' whitespace. |hl-Whitespace|
SpellBad = { sp = cp.catppuccino6, style = "undercurl" }, -- Word that is not recognized by the spellchecker. |spell| Combined with the highlighting used otherwise.
SpellCap = { sp = cp.warning, style = "undercurl" }, -- Word that should start with a capital. |spell| Combined with the highlighting used otherwise.
SpellCap = { sp = cp.catppuccino9, style = "undercurl" }, -- Word that should start with a capital. |spell| Combined with the highlighting used otherwise.
SpellLocal = { sp = cp.info, style = "undercurl" }, -- Word that is recognized by the spellchecker as one that is used in another region. |spell| Combined with the highlighting used otherwise.
SpellRare = { sp = cp.hint, style = "undercurl" }, -- Word that is recognized by the spellchecker as one that is hardly ever used. |spell| Combined with the highlighting used otherwise.
StatusLine = { fg = cp.catppuccino11, bg = cp.catppuccino15 }, -- status line of current window
@ -72,7 +72,7 @@ local function get_base()
Title = { fg = cp.catppuccino10, style = "bold" }, -- titles for output from ":set all", ":autocmd" etcp.
Visual = { bg = cp.util.darken(cp.catppuccino10, 0.2) }, -- Visual mode selection
VisualNOS = { bg = cp.util.darken(cp.catppuccino10, 0.2) }, -- Visual mode selection when vim is "Not Owning the Selection".
WarningMsg = { fg = cp.warning }, -- warning messages
WarningMsg = { fg = cp.catppuccino9 }, -- warning messages
Whitespace = { fg = cp.catppuccino13 }, -- "nbsp", "space", "tab" and "trail" in 'listchars'
WildMenu = { bg = cp.util.darken(cp.catppuccino10, 0.2) }, -- current match in 'wildmenu' completion
-- These groups are not listed as default vim groups,
@ -157,7 +157,7 @@ local function get_base()
-- NeoVim
healthError = { fg = cp.catppuccino6 },
healthSuccess = { fg = cp.catppuccino8 },
healthWarning = { fg = cp.warning },
healthWarning = { fg = cp.catppuccino9 },
-- misc
-- glyphs

Loading…
Cancel
Save