From 6dbd1e379dd5e7b334b35c5da903262b31470e52 Mon Sep 17 00:00:00 2001 From: Pocco81 Date: Fri, 29 Oct 2021 22:21:41 -0500 Subject: [PATCH] fix: info color --- lua/catppuccino/core/integrations/barbar.lua | 8 ++++---- lua/catppuccino/core/integrations/lsp_saga.lua | 2 +- lua/catppuccino/core/integrations/native_lsp.lua | 10 +++++----- lua/catppuccino/core/integrations/treesitter.lua | 2 +- lua/catppuccino/core/mapper.lua | 4 ++-- 5 files changed, 13 insertions(+), 13 deletions(-) diff --git a/lua/catppuccino/core/integrations/barbar.lua b/lua/catppuccino/core/integrations/barbar.lua index 9dd3b6f..f7208d2 100644 --- a/lua/catppuccino/core/integrations/barbar.lua +++ b/lua/catppuccino/core/integrations/barbar.lua @@ -5,14 +5,14 @@ local M = {} function M.get(cp) return { BufferCurrent = { bg = cp.catppuccino13, fg = cp.catppuccino11 }, - BufferCurrentIndex = { bg = cp.catppuccino13, fg = cp.info }, + BufferCurrentIndex = { bg = cp.catppuccino13, fg = cp.catppuccino10 }, BufferCurrentMod = { bg = cp.catppuccino13, fg = cp.catppuccino9 }, - BufferCurrentSign = { bg = cp.catppuccino13, fg = cp.info }, + BufferCurrentSign = { bg = cp.catppuccino13, fg = cp.catppuccino10 }, BufferCurrentTarget = { bg = cp.catppuccino13, fg = cp.catppuccino6 }, BufferVisible = { bg = cp.catppuccino15, fg = cp.catppuccino11 }, - BufferVisibleIndex = { bg = cp.catppuccino15, fg = cp.info }, + BufferVisibleIndex = { bg = cp.catppuccino15, fg = cp.catppuccino10 }, BufferVisibleMod = { bg = cp.catppuccino15, fg = cp.catppuccino9 }, - BufferVisibleSign = { bg = cp.catppuccino15, fg = cp.info }, + BufferVisibleSign = { bg = cp.catppuccino15, fg = cp.catppuccino10 }, BufferVisibleTarget = { bg = cp.catppuccino15, fg = cp.catppuccino6 }, BufferInactive = { bg = cp.catppuccino15, fg = cp.catppuccino12 }, BufferInactiveIndex = { bg = cp.catppuccino15, fg = cp.catppuccino12 }, diff --git a/lua/catppuccino/core/integrations/lsp_saga.lua b/lua/catppuccino/core/integrations/lsp_saga.lua index 3915126..16a8ad1 100644 --- a/lua/catppuccino/core/integrations/lsp_saga.lua +++ b/lua/catppuccino/core/integrations/lsp_saga.lua @@ -4,7 +4,7 @@ function M.get(cp) return { DiagnosticError = { fg = cp.catppuccino6 }, DiagnosticWarning = { fg = cp.catppuccino9 }, - DiagnosticInformation = { fg = cp.info }, + DiagnosticInformation = { fg = cp.catppuccino10 }, DiagnosticHint = { fg = cp.hint }, LspFloatWinNormal = { bg = cp.catppuccino14 }, LspFloatWinBorder = { fg = cp.catppuccino10 }, diff --git a/lua/catppuccino/core/integrations/native_lsp.lua b/lua/catppuccino/core/integrations/native_lsp.lua index 586976b..ab1c687 100644 --- a/lua/catppuccino/core/integrations/native_lsp.lua +++ b/lua/catppuccino/core/integrations/native_lsp.lua @@ -15,12 +15,12 @@ function M.get(cp) -- 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.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 + DiagnosticInfo = { fg = cp.catppuccino10 }, -- 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.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) + LspDiagnosticsDefaultInformation = { fg = cp.catppuccino10 }, -- 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 }, -- LspDiagnosticsFloatingError = { }, -- Used to color "Error" diagnostic messages in diagnostics float @@ -30,15 +30,15 @@ function M.get(cp) LspDiagnosticsError = { fg = cp.catppuccino6 }, LspDiagnosticsWarning = { fg = cp.catppuccino9 }, - LspDiagnosticsInformation = { fg = cp.info }, + LspDiagnosticsInformation = { fg = cp.catppuccino10 }, LspDiagnosticsHint = { fg = cp.hint }, LspDiagnosticsVirtualTextError = { fg = cp.catppuccino6, style = virtual_text.errors }, -- Used for "Error" 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 + LspDiagnosticsVirtualTextInformation = { fg = cp.catppuccino10, 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.catppuccino9 }, -- Used to underline "Warning" diagnostics - LspDiagnosticsUnderlineInformation = { style = underlines.information, sp = cp.info }, -- Used to underline "Information" diagnostics + LspDiagnosticsUnderlineInformation = { style = underlines.information, sp = cp.catppuccino10 }, -- 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 } diff --git a/lua/catppuccino/core/integrations/treesitter.lua b/lua/catppuccino/core/integrations/treesitter.lua index 554e333..3d936a8 100644 --- a/lua/catppuccino/core/integrations/treesitter.lua +++ b/lua/catppuccino/core/integrations/treesitter.lua @@ -14,7 +14,7 @@ function M.get(cp) TSBoolean = { fg = cp.catppuccino7, style = cnf.styles.keywords }, -- For booleans. -- TSCharacter = { }; -- For characters. -- TScatppuccino12 = { }; -- For catppuccino12 blocks. - TSNote = { fg = cp.catppuccino2, bg = cp.info }, + TSNote = { fg = cp.catppuccino2, bg = cp.catppuccino10 }, 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. diff --git a/lua/catppuccino/core/mapper.lua b/lua/catppuccino/core/mapper.lua index f67a6e0..4e20000 100644 --- a/lua/catppuccino/core/mapper.lua +++ b/lua/catppuccino/core/mapper.lua @@ -62,7 +62,7 @@ local function get_base() 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.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. + SpellLocal = { sp = cp.catppuccino10, 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.catppuccino0, 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 StatusLineNC = { fg = cp.catppuccino13, bg = cp.catppuccino15 }, -- status lines of not-current windows Note: if this is equal to "StatusLine" Vim will use "^^^" in the status line of the current window. @@ -137,7 +137,7 @@ local function get_base() -- debugging debugPC = { bg = cp.catppuccino14 }, -- used for highlighting the current line in terminal-debug - debugBreakpoint = { bg = util.darken(cp.info, 0.1), fg = cp.info }, -- used for breakpoint colors in terminal-debug + debugBreakpoint = { bg = util.darken(cp.catppuccino10, 0.1), fg = cp.catppuccino10 }, -- used for breakpoint colors in terminal-debug -- illuminate illuminatedWord = { bg = cp.catppuccino13 }, illuminatedCurWord = { bg = cp.catppuccino13 },