From ca683733437a97437b3c83d82d4da8c881ffbee6 Mon Sep 17 00:00:00 2001 From: Tuuux Date: Thu, 15 Dec 2022 18:28:13 +0100 Subject: [PATCH] NVimTree Git management and LSPSaga review --- lua/nord/theme.lua | 106 +++++++++++++++++++++++++++++++++++---------- 1 file changed, 83 insertions(+), 23 deletions(-) diff --git a/lua/nord/theme.lua b/lua/nord/theme.lua index c6e4150..7f43c33 100644 --- a/lua/nord/theme.lua +++ b/lua/nord/theme.lua @@ -574,12 +574,12 @@ theme.loadPlugins = function() NvimTreeRootFolder = { fg = nord.nord15_gui }, NvimTreeSymlink = { fg = nord.nord5_gui }, NvimTreeFolderName = { fg = nord.nord4_gui }, - NvimTreeFolderIcon = { fg =nord.nord9_gui }, + NvimTreeFolderIcon = { fg = nord.nord9_gui }, NvimTreeEmptyFolderName = { fg = nord.nord4_gui }, NvimTreeOpenedFolderName = { fg = nord.nord5_gui }, NvimTreeExecFile = { fg = nord.nord4_gui }, NvimTreeOpenedFile = { fg = nord.nord6_gui }, - NvimTreeSpecialFile = { fg = nord.nord9_gui }, + NvimTreeSpecialFile = { fg = nord.nord4_gui, style = "bold"}, NvimTreeImageFile = { fg = nord.nord4_gui }, NvimTreeMarkdownFile = { fg = nord.nord4_gui }, NvimTreeIndentMarker = { fg = nord.nord9_gui }, @@ -605,27 +605,87 @@ theme.loadPlugins = function() WhichKeyValue = { fg = nord.nord7_gui }, -- LspSaga - DiagnosticError = { fg = nord.nord11_gui }, - DiagnosticWarning = { fg = nord.nord15_gui }, - DiagnosticInformation = { fg = nord.nord10_gui }, - DiagnosticHint = { fg = nord.nord9_gui }, - DiagnosticTruncateLine = { fg = nord.nord4_gui }, - LspFloatWinNormal = { bg = nord.nord2_gui }, - LspFloatWinBorder = { fg = nord.nord9_gui }, - LspSagaBorderTitle = { fg = nord.nord8_gui }, - LspSagaHoverBorder = { fg = nord.nord10_gui }, - LspSagaRenameBorder = { fg = nord.nord14_gui }, - LspSagaDefPreviewBorder = { fg = nord.nord14_gui }, - LspSagaCodeActionBorder = { fg = nord.nord7_gui }, - LspSagaFinderSelection = { fg = nord.nord14_gui }, - LspSagaCodeActionTitle = { fg = nord.nord10_gui }, - LspSagaCodeActionContent = { fg = nord.nord9_gui }, - LspSagaSignatureHelpBorder = { fg = nord.nord13_gui }, - ReferencesCount = { fg = nord.nord9_gui }, - DefinitionCount = { fg = nord.nord9_gui }, - DefinitionIcon = { fg = nord.nord7_gui }, - ReferencesIcon = { fg = nord.nord7_gui }, - TargetWord = { fg = nord.nord8_gui }, + DiagnosticError = { fg = nord.nord12_gui }, + DiagnosticWarning = { fg = nord.nord15_gui }, + DiagnosticInformation = { fg = nord.nord10_gui }, + DiagnosticHint = { fg = nord.nord9_gui }, + DiagnosticTruncateLine = { fg = nord.nord4_gui }, + LspFloatWinBorder = { fg = nord.nord4_gui, bg = nord.float }, + LspSagaDefPreviewBorder = { fg = nord.nord4_gui, bg = nord.float }, + DefinitionIcon = { fg = nord.nord7_gui }, + TargetWord = { fg = nord.nord6_gui, style = 'bold' }, + -- LspSaga code action + LspSagaCodeActionTitle = { link = 'Title' }, + LspSagaCodeActionBorder = { fg = nord.nord4_gui, bg = nord.float }, + LspSagaCodeActionTrunCateLine = { link = 'LspSagaCodeActionBorder' }, + LspSagaCodeActionContent = { fg = nord.nord4_gui }, + -- LspSag finder + LspSagaLspFinderBorder = { fg = nord.nord4_gui, bg = nord.float }, + LspSagaAutoPreview = { fg = nord.nord4_gui }, + LspSagaFinderSelection = { fg = nord.nord6_gui, bg = nord.nord2_gui }, + TargetFileName = { fg = nord.nord4_gui }, + FinderParam = { fg = nord.nord15_gui, bold = true }, + FinderVirtText = { fg = nord.nord15_gui15 , bg = nord.none }, + DefinitionsIcon = { fg = nord.nord15_gui }, + Definitions = { fg = nord.nord15_gui, bold = true }, + DefinitionCount = { fg = nord.nord10_gui }, + ReferencesIcon = { fg = nord.nord9_gui }, + References = { fg = nord.nord15_gui, bold = true }, + ReferencesCount = { fg = nord.nord10_gui }, + ImplementsIcon = { fg = nord.nord9_gui }, + Implements = { fg = nord.nord15_gui, bold = true }, + ImplementsCount = { fg = nord.nord10_gui }, + -- LspSaga finder spinner + FinderSpinnerBorder = { fg = nord.nord4_gui, bg = nord.float }, + FinderSpinnerTitle = { link = 'Title' }, + FinderSpinner = { fg = nord.nord8_gui, bold = true }, + FinderPreviewSearch = { link = 'Search' }, + -- LspSaga definition + DefinitionBorder = { fg = nord.nord4_gui, bg = nord.float }, + DefinitionArrow = { fg = nord.nord8_gui }, + DefinitionSearch = { link = 'Search' }, + DefinitionFile = { bg = nord.none }, + -- LspSaga hover + LspSagaHoverBorder = { fg = nord.nord4_gui, bg = nord.float }, + LspSagaHoverTrunCateLine = { link = 'LspSagaHoverBorder' }, + -- Lsp rename + LspSagaRenameBorder = { fg = nord.nord4_gui, bg = nord.float }, + LspSagaRenameMatch = { fg = nord.nord6_gui, bg = nord.nord9_gui }, + -- Lsp diagnostic + LspSagaDiagnosticSource = { link = 'Comment' }, + LspSagaDiagnosticError = { link = 'DiagnosticError' }, + LspSagaDiagnosticWarn = { link = 'DiagnosticWarn' }, + LspSagaDiagnosticInfo = { link = 'DiagnosticInfo' }, + LspSagaDiagnosticHint = { link = 'DiagnosticHint' }, + LspSagaErrorTrunCateLine = { link = 'DiagnosticError' }, + LspSagaWarnTrunCateLine = { link = 'DiagnosticWarn' }, + LspSagaInfoTrunCateLine = { link = 'DiagnosticInfo' }, + LspSagaHintTrunCateLine = { link = 'DiagnosticHint' }, + LspSagaDiagnosticBorder = { fg = nord.nord4_gui, bg = nord.float }, + LspSagaDiagnosticHeader = { fg = nord.nord4_gui }, + DiagnosticQuickFix = { fg = '#4dd158', bold = true }, + DiagnosticMap = { fg = '#cf80ce' }, + DiagnosticLineCol = { fg = '#73797e' }, + LspSagaDiagnosticTruncateLine = { link = 'LspSagaDiagnosticBorder' }, + ColInLineDiagnostic = { link = 'Comment' }, + -- LspSaga signture help + LspSagaSignatureHelpBorder = { fg = nord.nord4_gui, bg = nord.float }, + LspSagaShTrunCateLine = { link = 'LspSagaSignatureHelpBorder' }, + -- Lspsaga lightbulb + LspSagaLightBulb = { link = 'DiagnosticSignHint' }, + -- LspSaga shadow + SagaShadow = { fg = 'black' }, + -- LspSaga float + LspSagaBorderTitle = { link = 'Title' }, + -- LspSaga Outline + LSOutlinePreviewBorder = { fg = nord.nord4_gui, bg = nord.float }, + OutlineIndentEvn = { fg = '#c955ae' }, + OutlineIndentOdd = { fg = '#b8733e' }, + OutlineFoldPrefix = { fg = '#bf4537' }, + OutlineDetail = { fg = '#73797e' }, + -- LspSaga all floatwindow + LspFloatWinNormal = { fg = nord.nord4_gui, bg = nord.float }, + -- Saga End -- Sneak Sneak = { fg = nord.nord0_gui, bg = nord.nord4_gui }, -- 2.39.5