From a218fd5ddb0ae25bedbda9d3606412e94358b640 Mon Sep 17 00:00:00 2001 From: Samuel K Date: Thu, 16 Dec 2021 18:10:23 +0100 Subject: [PATCH] feat(lspsaga): finishing touches Add the finihing touches and add the last needed highlightgroups Disclaimer: Preview Definitions still don't work --- lua/rose-pine/theme.lua | 21 ++++++++++++--------- 1 file changed, 12 insertions(+), 9 deletions(-) diff --git a/lua/rose-pine/theme.lua b/lua/rose-pine/theme.lua index 28e2312..f4d0223 100644 --- a/lua/rose-pine/theme.lua +++ b/lua/rose-pine/theme.lua @@ -415,7 +415,7 @@ local theme = { -- https://github.com/tami5/lspsaga.nvim (fork of https://github.com/glepnir/lspsaga.nvim) -- CodeActions LspSagaCodeActionTitle = { - fg = p.gold, + fg = p.rose, style = 'bold', }, LspSagaCodeActionBorder = { fg = p.subtle }, @@ -429,7 +429,7 @@ local theme = { -- DiagnosticPopUp LspSagaDiagnosticBorder = { fg = p.subtle }, LspSagaDiagnosticHeader = { - fg = p.gold, + fg = p.foam, style = 'bold', }, LspSagaDiagnosticTruncateLine = { link = 'LspSagaDiagnosticBorder' }, @@ -443,12 +443,15 @@ local theme = { -- Definition DefinitionIcon = { fg = p.rose }, DefinitionCount = { fg = p.rose }, + ReferencesCount = { fg = p.rose }, + ReferencesIcon = { fg = p.rose }, + DefintionPreviewTitle = { - fg = p.gold, + fg = p.rose, style = "bold", }, LspSagaRenamePromptPrefix = { fg = p.love }, - LspSagaRenameBorder = { fg = p.subtle }, + LspSagaRenameBorder = { fg = p.pine }, -- Float LspFloatWinNormal = { bg = p.base }, @@ -457,14 +460,14 @@ local theme = { LspSagaHoverBorder = { fg = p.subtle}, -- Signature - LspSagaSignatureHelpBorder = { fg = p.subtle }, + LspSagaSignatureHelpBorder = { fg = p.pine }, LspSagaShTruncateLine = { link = "LspSagaSignatureHelpBorder" }, - -- Others - SagaShadow = { fg = p.overlay, bg = p.overlay }, + -- TargetWord + TargetWord = { fg = p.iris }, - ReferencesIcon = { fg = p.rose }, - ReferencesCount = { fg = p.rose }, + -- Others + SagaShadow = { bg = p.overlay }, } vim.g.terminal_color_0 = p.overlay -- black