style(lspsaga): remove comments and rearrange

Remove uneeded comments and rearrange some code
This commit is contained in:
Samuel K 2021-12-16 18:25:03 +01:00
commit 448f95ef16

View file

@ -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