From e00d111d7c324bfb15a3de3b483e190f0e3fe627 Mon Sep 17 00:00:00 2001 From: sgoudham Date: Fri, 20 May 2022 00:39:32 +0100 Subject: [PATCH] fix: Replace invalid colours with existing equivalents Within both branches 'master' and 'dev', invalid colours such as `cp.purple`, `cp.blue1` and `cp.hint` currently exist. This commit replaces them with equivalent existing colours and therefore allows the lspsaga integration to work properly. --- lua/catppuccin/core/integrations/lsp_saga.lua | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/lua/catppuccin/core/integrations/lsp_saga.lua b/lua/catppuccin/core/integrations/lsp_saga.lua index 246a26d..672b0a5 100644 --- a/lua/catppuccin/core/integrations/lsp_saga.lua +++ b/lua/catppuccin/core/integrations/lsp_saga.lua @@ -5,7 +5,7 @@ function M.get(cp) DiagnosticError = { fg = cp.red }, DiagnosticWarning = { fg = cp.yellow }, DiagnosticInformation = { fg = cp.blue }, - DiagnosticHint = { fg = cp.hint }, + DiagnosticHint = { fg = cp.rosewater }, LspFloatWinNormal = { bg = cp.crust }, LspFloatWinBorder = { fg = cp.blue }, LspSagaBorderTitle = { fg = cp.flamingo }, @@ -14,11 +14,11 @@ function M.get(cp) LspSagaDefPreviewBorder = { fg = cp.teal }, LspSagaCodeActionBorder = { fg = cp.blue }, LspSagaFinderSelection = { fg = cp.surface1 }, - LspSagaCodeActionTitle = { fg = cp.blue1 }, - LspSagaCodeActionContent = { fg = cp.purple }, + LspSagaCodeActionTitle = { fg = cp.blue }, + LspSagaCodeActionContent = { fg = cp.lavender }, LspSagaSignatureHelpBorder = { fg = cp.red }, - ReferencesCount = { fg = cp.purple }, - DefinitionCount = { fg = cp.purple }, + ReferencesCount = { fg = cp.lavender }, + DefinitionCount = { fg = cp.lavender }, DefinitionIcon = { fg = cp.blue }, ReferencesIcon = { fg = cp.blue }, TargetWord = { fg = cp.flamingo },