From 448f95ef1618cb5d8f72a8235f918edf912db86e Mon Sep 17 00:00:00 2001 From: Samuel K Date: Thu, 16 Dec 2021 18:25:03 +0100 Subject: [PATCH] style(lspsaga): remove comments and rearrange Remove uneeded comments and rearrange some code --- lua/rose-pine/theme.lua | 32 +++++++++++++++++++++++++------- 1 file changed, 25 insertions(+), 7 deletions(-) diff --git a/lua/rose-pine/theme.lua b/lua/rose-pine/theme.lua index 598f316..46af311 100644 --- a/lua/rose-pine/theme.lua +++ b/lua/rose-pine/theme.lua @@ -430,7 +430,9 @@ local theme = { NeorgMarkerTitle = { fg = p.text, style = 'bold' }, -- LspSaga -- https://github.com/tami5/lspsaga.nvim (fork of https://github.com/glepnir/lspsaga.nvim) - -- CodeActions + DiagnosticInformation = { link = 'DiagnosticInfo' }, + DiagnosticWarning = { link = 'DiagnosticWarn' }, + LspSagaCodeActionTitle = { fg = p.gold, style = 'bold', @@ -438,19 +440,35 @@ local theme = { LspSagaCodeActionBorder = { fg = p.subtle }, LspSagaCodeActionTruncateLine = { link = 'LspSagaCodeActionBorder' }, LspSagaCodeActionContent = { fg = p.foam }, - - -- Diagnostics - DiagnosticInformation = { link = 'DiagnosticInfo' }, - DiagnosticWarning = { link = 'DiagnosticWarn' }, - - -- DiagnosticPopUp LspSagaDiagnosticBorder = { fg = p.subtle }, LspSagaDiagnosticHeader = { fg = p.gold, style = 'bold', }, LspSagaDiagnosticTruncateLine = { link = 'LspSagaDiagnosticBorder' }, + LspSagaFinderSelection = { fg = p.gold }, + LspSagaLspFinderBorder = { fg = p.subtle }, + LspSagaAutoPreview = { fg = p.subtle }, + LspSagaDefPreviewBorder = { fg = p.subtle }, + DefinitionIcon = { fg = p.rose }, + DefinitionCount = { fg = p.rose }, + ReferencesCount = { fg = p.rose }, + ReferencesIcon = { fg = p.rose }, + DefintionPreviewTitle = { + fg = p.rose, + style = "bold", + }, + LspSagaRenamePromptPrefix = { fg = p.love }, + LspSagaRenameBorder = { fg = p.pine }, + LspFloatWinNormal = { bg = p.base }, + LspFloatWinBorder = { fg = p.subtle }, + LspSagaDocTruncateLine = { link = "LspSagaHoverBorder" }, + LspSagaHoverBorder = { fg = p.subtle}, + LspSagaSignatureHelpBorder = { fg = p.pine }, + LspSagaShTruncateLine = { link = "LspSagaSignatureHelpBorder" }, + TargetWord = { fg = p.iris }, + SagaShadow = { bg = p.overlay }, } vim.g.terminal_color_0 = p.overlay -- black