feat: my own neovim theme!
This commit is contained in:
@@ -0,0 +1,80 @@
|
||||
local function get(p)
|
||||
return {
|
||||
DiagnosticError = { fg = p.coral },
|
||||
DiagnosticWarn = { fg = p.gold },
|
||||
DiagnosticInfo = { fg = p.lavender },
|
||||
DiagnosticHint = { fg = p.fg_muted },
|
||||
DiagnosticOk = { fg = p.teal },
|
||||
|
||||
DiagnosticVirtualTextError = { fg = p.coral },
|
||||
DiagnosticVirtualTextWarn = { fg = p.gold },
|
||||
DiagnosticVirtualTextInfo = { fg = p.lavender },
|
||||
DiagnosticVirtualTextHint = { fg = p.fg_muted },
|
||||
DiagnosticVirtualTextOk = { fg = p.teal },
|
||||
|
||||
DiagnosticUnderlineError = { sp = p.coral, undercurl = true },
|
||||
DiagnosticUnderlineWarn = { sp = p.gold, undercurl = true },
|
||||
DiagnosticUnderlineInfo = { sp = p.lavender, undercurl = true },
|
||||
DiagnosticUnderlineHint = { sp = p.fg_muted, undercurl = true },
|
||||
DiagnosticUnderlineOk = { sp = p.teal, undercurl = true },
|
||||
|
||||
DiagnosticFloatingError = { fg = p.coral },
|
||||
DiagnosticFloatingWarn = { fg = p.gold },
|
||||
DiagnosticFloatingInfo = { fg = p.lavender },
|
||||
DiagnosticFloatingHint = { fg = p.fg_muted },
|
||||
|
||||
DiagnosticSignError = { fg = p.coral },
|
||||
DiagnosticSignWarn = { fg = p.gold },
|
||||
DiagnosticSignInfo = { fg = p.lavender },
|
||||
DiagnosticSignHint = { fg = p.fg_muted },
|
||||
DiagnosticSignOk = { fg = p.teal },
|
||||
|
||||
DiagnosticDeprecated = { sp = p.coral, strikethrough = true },
|
||||
DiagnosticUnnecessary = { fg = p.fg_muted2 },
|
||||
|
||||
LspReferenceText = { bg = p.accent_subtle },
|
||||
LspReferenceRead = { bg = p.accent_subtle },
|
||||
LspReferenceWrite = { bg = p.accent_subtle },
|
||||
|
||||
LspSignatureActiveParameter = { fg = p.gold, bold = true },
|
||||
|
||||
LspInlayHint = { fg = p.fg_muted2, bg = p.bg_highlight },
|
||||
|
||||
LspCodeLens = { fg = p.fg_muted },
|
||||
LspCodeLensSeparator = { fg = p.fg_muted },
|
||||
|
||||
LspInfoBorder = { fg = p.lavender },
|
||||
|
||||
-- Legacy LSP diagnostic groups
|
||||
LspDiagnosticsDefaultError = { fg = p.coral },
|
||||
LspDiagnosticsDefaultWarning = { fg = p.gold },
|
||||
LspDiagnosticsDefaultInformation = { fg = p.lavender },
|
||||
LspDiagnosticsDefaultHint = { fg = p.fg_muted },
|
||||
LspDiagnosticsDefaultOk = { fg = p.teal },
|
||||
LspDiagnosticsVirtualTextError = { fg = p.coral },
|
||||
LspDiagnosticsVirtualTextWarning = { fg = p.gold },
|
||||
LspDiagnosticsVirtualTextInformation = { fg = p.lavender },
|
||||
LspDiagnosticsVirtualTextHint = { fg = p.fg_muted },
|
||||
LspDiagnosticsUnderlineError = { sp = p.coral, undercurl = true },
|
||||
LspDiagnosticsUnderlineWarning = { sp = p.gold, undercurl = true },
|
||||
LspDiagnosticsUnderlineInformation = { sp = p.lavender, undercurl = true },
|
||||
LspDiagnosticsUnderlineHint = { sp = p.fg_muted, undercurl = true },
|
||||
LspDiagnosticsFloatingError = { fg = p.coral },
|
||||
LspDiagnosticsFloatingWarning = { fg = p.gold },
|
||||
LspDiagnosticsFloatingInformation = { fg = p.lavender },
|
||||
LspDiagnosticsFloatingHint = { fg = p.fg_muted },
|
||||
LspDiagnosticsSignError = { fg = p.coral },
|
||||
LspDiagnosticsSignWarning = { fg = p.gold },
|
||||
LspDiagnosticsSignInformation = { fg = p.lavender },
|
||||
LspDiagnosticsSignHint = { fg = p.fg_muted },
|
||||
|
||||
-- Terminal colors
|
||||
Terminal = { bg = p.bg },
|
||||
|
||||
healthError = { fg = p.coral },
|
||||
healthSuccess = { fg = p.teal },
|
||||
healthWarning = { fg = p.gold },
|
||||
}
|
||||
end
|
||||
|
||||
return { get = get }
|
||||
Reference in New Issue
Block a user