mirror of
https://github.com/rose-pine/neovim.git
synced 2025-10-15 12:38:53 +02:00
style(lspsaga): remove comments and rearrange
Remove uneeded comments and rearrange some code
This commit is contained in:
parent
a218fd5ddb
commit
81faeeedd5
1 changed files with 3 additions and 19 deletions
|
|
@ -413,7 +413,9 @@ local theme = {
|
||||||
|
|
||||||
-- LspSaga
|
-- LspSaga
|
||||||
-- https://github.com/tami5/lspsaga.nvim (fork of https://github.com/glepnir/lspsaga.nvim)
|
-- https://github.com/tami5/lspsaga.nvim (fork of https://github.com/glepnir/lspsaga.nvim)
|
||||||
-- CodeActions
|
DiagnosticInformation = { link = 'DiagnosticInfo' },
|
||||||
|
DiagnosticWarning = { link = 'DiagnosticWarn' },
|
||||||
|
|
||||||
LspSagaCodeActionTitle = {
|
LspSagaCodeActionTitle = {
|
||||||
fg = p.rose,
|
fg = p.rose,
|
||||||
style = 'bold',
|
style = 'bold',
|
||||||
|
|
@ -421,52 +423,34 @@ local theme = {
|
||||||
LspSagaCodeActionBorder = { fg = p.subtle },
|
LspSagaCodeActionBorder = { fg = p.subtle },
|
||||||
LspSagaCodeActionTruncateLine = { link = 'LspSagaCodeActionBorder' },
|
LspSagaCodeActionTruncateLine = { link = 'LspSagaCodeActionBorder' },
|
||||||
LspSagaCodeActionContent = { fg = p.foam },
|
LspSagaCodeActionContent = { fg = p.foam },
|
||||||
|
|
||||||
-- Diagnostics
|
|
||||||
DiagnosticInformation = { link = 'DiagnosticInfo' },
|
|
||||||
DiagnosticWarning = { link = 'DiagnosticWarn' },
|
|
||||||
|
|
||||||
-- DiagnosticPopUp
|
|
||||||
LspSagaDiagnosticBorder = { fg = p.subtle },
|
LspSagaDiagnosticBorder = { fg = p.subtle },
|
||||||
LspSagaDiagnosticHeader = {
|
LspSagaDiagnosticHeader = {
|
||||||
fg = p.foam,
|
fg = p.foam,
|
||||||
style = 'bold',
|
style = 'bold',
|
||||||
},
|
},
|
||||||
LspSagaDiagnosticTruncateLine = { link = 'LspSagaDiagnosticBorder' },
|
LspSagaDiagnosticTruncateLine = { link = 'LspSagaDiagnosticBorder' },
|
||||||
|
|
||||||
-- Finder
|
|
||||||
LspSagaFinderSelection = { fg = p.gold },
|
LspSagaFinderSelection = { fg = p.gold },
|
||||||
LspSagaLspFinderBorder = { fg = p.subtle },
|
LspSagaLspFinderBorder = { fg = p.subtle },
|
||||||
LspSagaAutoPreview = { fg = p.subtle },
|
LspSagaAutoPreview = { fg = p.subtle },
|
||||||
LspSagaDefPreviewBorder = { fg = p.subtle },
|
LspSagaDefPreviewBorder = { fg = p.subtle },
|
||||||
|
|
||||||
-- Definition
|
|
||||||
DefinitionIcon = { fg = p.rose },
|
DefinitionIcon = { fg = p.rose },
|
||||||
DefinitionCount = { fg = p.rose },
|
DefinitionCount = { fg = p.rose },
|
||||||
ReferencesCount = { fg = p.rose },
|
ReferencesCount = { fg = p.rose },
|
||||||
ReferencesIcon = { fg = p.rose },
|
ReferencesIcon = { fg = p.rose },
|
||||||
|
|
||||||
DefintionPreviewTitle = {
|
DefintionPreviewTitle = {
|
||||||
fg = p.rose,
|
fg = p.rose,
|
||||||
style = "bold",
|
style = "bold",
|
||||||
},
|
},
|
||||||
LspSagaRenamePromptPrefix = { fg = p.love },
|
LspSagaRenamePromptPrefix = { fg = p.love },
|
||||||
LspSagaRenameBorder = { fg = p.pine },
|
LspSagaRenameBorder = { fg = p.pine },
|
||||||
|
|
||||||
-- Float
|
|
||||||
LspFloatWinNormal = { bg = p.base },
|
LspFloatWinNormal = { bg = p.base },
|
||||||
LspFloatWinBorder = { fg = p.subtle },
|
LspFloatWinBorder = { fg = p.subtle },
|
||||||
LspSagaDocTruncateLine = { link = "LspSagaHoverBorder" },
|
LspSagaDocTruncateLine = { link = "LspSagaHoverBorder" },
|
||||||
LspSagaHoverBorder = { fg = p.subtle},
|
LspSagaHoverBorder = { fg = p.subtle},
|
||||||
|
|
||||||
-- Signature
|
|
||||||
LspSagaSignatureHelpBorder = { fg = p.pine },
|
LspSagaSignatureHelpBorder = { fg = p.pine },
|
||||||
LspSagaShTruncateLine = { link = "LspSagaSignatureHelpBorder" },
|
LspSagaShTruncateLine = { link = "LspSagaSignatureHelpBorder" },
|
||||||
|
|
||||||
-- TargetWord
|
|
||||||
TargetWord = { fg = p.iris },
|
TargetWord = { fg = p.iris },
|
||||||
|
|
||||||
-- Others
|
|
||||||
SagaShadow = { bg = p.overlay },
|
SagaShadow = { bg = p.overlay },
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue