fix: missed config
This commit is contained in:
parent
79f8836395
commit
c9c86a5be1
1 changed files with 118 additions and 118 deletions
|
|
@ -17,12 +17,12 @@ local p = {
|
|||
bg_visual = hsl("#214283"), -- Visual selection background
|
||||
bg_search = hsl("#32593D"), -- Search highlight
|
||||
bg_current_line = hsl("#323232"), -- Current line background
|
||||
|
||||
|
||||
fg = hsl("#A9B7C6"), -- Default foreground
|
||||
fg_dark = hsl("#606366"), -- Gutter numbers, inactive elements
|
||||
fg_comment = hsl("#808080"), -- Comments
|
||||
fg_light = hsl("#BBBBBB"), -- Lighter text
|
||||
|
||||
|
||||
-- Syntax Colors (Refined to match JetBrains)
|
||||
orange = hsl("#CC7832"), -- Keywords (if, else, for), statements
|
||||
yellow = hsl("#FFC66D"), -- Functions, methods
|
||||
|
|
@ -37,12 +37,12 @@ local p = {
|
|||
blue = hsl("#287BDE"), -- Links, special blues
|
||||
blue_dark = hsl("#4A86C7"), -- Darker blue variant
|
||||
white = hsl("#FFFFFF"),
|
||||
|
||||
|
||||
-- Additional semantic colors
|
||||
gray = hsl("#606060"), -- Various UI elements
|
||||
gray_light = hsl("#767676"), -- Lighter gray
|
||||
brown = hsl("#A68A64"), -- Special uses
|
||||
|
||||
|
||||
-- Diagnostic Colors (JetBrains spec)
|
||||
error = hsl("#C75450"), -- More accurate error color
|
||||
error_bg = hsl("#3D2929"), -- Error background
|
||||
|
|
@ -52,35 +52,35 @@ local p = {
|
|||
info_bg = hsl("#293D48"), -- Info background
|
||||
hint = hsl("#499C54"), -- Success/hint green
|
||||
hint_bg = hsl("#294F33"), -- Hint background
|
||||
|
||||
|
||||
-- Diff colors
|
||||
diff_add = hsl("#294F33"),
|
||||
diff_change = hsl("#3D3D0A"),
|
||||
diff_delete = hsl("#484A4A"),
|
||||
diff_text = hsl("#656E76"),
|
||||
|
||||
|
||||
-- UI Border
|
||||
border = hsl("#616161"),
|
||||
border_dark = hsl("#424242"),
|
||||
}
|
||||
|
||||
-- Terminal colors for integrated terminal
|
||||
vim.g.terminal_color_0 = "#2B2B2B" -- black
|
||||
vim.g.terminal_color_1 = "#FF6B68" -- red
|
||||
vim.g.terminal_color_2 = "#A8C023" -- green
|
||||
vim.g.terminal_color_3 = "#D6BF55" -- yellow
|
||||
vim.g.terminal_color_4 = "#5394EC" -- blue
|
||||
vim.g.terminal_color_5 = "#AE8ABE" -- magenta
|
||||
vim.g.terminal_color_6 = "#299999" -- cyan
|
||||
vim.g.terminal_color_7 = "#A9B7C6" -- white
|
||||
vim.g.terminal_color_8 = "#606366" -- bright black
|
||||
vim.g.terminal_color_9 = "#FF9980" -- bright red
|
||||
vim.g.terminal_color_10 = "#C3D82C" -- bright green
|
||||
vim.g.terminal_color_11 = "#FFFF00" -- bright yellow
|
||||
vim.g.terminal_color_12 = "#6FB3D2" -- bright blue
|
||||
vim.g.terminal_color_13 = "#D197D9" -- bright magenta
|
||||
vim.g.terminal_color_14 = "#4DD0E1" -- bright cyan
|
||||
vim.g.terminal_color_15 = "#FFFFFF" -- bright white
|
||||
vim.g.terminal_color_0 = "#2B2B2B" -- black
|
||||
vim.g.terminal_color_1 = "#FF6B68" -- red
|
||||
vim.g.terminal_color_2 = "#A8C023" -- green
|
||||
vim.g.terminal_color_3 = "#D6BF55" -- yellow
|
||||
vim.g.terminal_color_4 = "#5394EC" -- blue
|
||||
vim.g.terminal_color_5 = "#AE8ABE" -- magenta
|
||||
vim.g.terminal_color_6 = "#299999" -- cyan
|
||||
vim.g.terminal_color_7 = "#A9B7C6" -- white
|
||||
vim.g.terminal_color_8 = "#606366" -- bright black
|
||||
vim.g.terminal_color_9 = "#FF9980" -- bright red
|
||||
vim.g.terminal_color_10 = "#C3D82C" -- bright green
|
||||
vim.g.terminal_color_11 = "#FFFF00" -- bright yellow
|
||||
vim.g.terminal_color_12 = "#6FB3D2" -- bright blue
|
||||
vim.g.terminal_color_13 = "#D197D9" -- bright magenta
|
||||
vim.g.terminal_color_14 = "#4DD0E1" -- bright cyan
|
||||
vim.g.terminal_color_15 = "#FFFFFF" -- bright white
|
||||
|
||||
-- The theme definition using lush.nvim
|
||||
return lush(function()
|
||||
|
|
@ -96,29 +96,29 @@ return lush(function()
|
|||
CursorLine({ bg = p.bg_current_line }),
|
||||
CursorColumn({ bg = p.bg_current_line }),
|
||||
ColorColumn({ bg = p.bg_light }),
|
||||
|
||||
|
||||
Visual({ bg = p.bg_visual }),
|
||||
VisualNOS({ bg = p.bg_visual }),
|
||||
|
||||
|
||||
Pmenu({ bg = p.bg_light, fg = p.fg }),
|
||||
PmenuSel({ bg = p.bg_visual, fg = p.white }),
|
||||
PmenuSbar({ bg = p.bg_light }),
|
||||
PmenuThumb({ bg = p.fg_dark }),
|
||||
|
||||
|
||||
StatusLine({ bg = p.bg_light, fg = p.fg }),
|
||||
StatusLineNC({ bg = p.bg_gutter, fg = p.fg_dark }),
|
||||
TabLine({ bg = p.bg_gutter, fg = p.fg_dark }),
|
||||
TabLineFill({ bg = p.bg_gutter }),
|
||||
TabLineSel({ bg = p.bg_light, fg = p.white }),
|
||||
|
||||
|
||||
VertSplit({ fg = p.border_dark, bg = p.bg }),
|
||||
WinSeparator({ fg = p.border_dark, bg = p.bg }),
|
||||
|
||||
|
||||
Search({ bg = p.bg_search, fg = p.white }),
|
||||
IncSearch({ bg = hsl("#474131"), fg = p.yellow }),
|
||||
CurSearch({ link = "IncSearch" }),
|
||||
Substitute({ bg = p.warning, fg = p.bg }),
|
||||
|
||||
|
||||
Title({ fg = p.orange, style = "bold" }),
|
||||
Directory({ fg = p.cyan }),
|
||||
ErrorMsg({ fg = p.error }),
|
||||
|
|
@ -129,19 +129,19 @@ return lush(function()
|
|||
Conceal({ fg = p.fg_dark, bg = p.bg }),
|
||||
Folded({ fg = p.fg_comment, bg = p.bg_darker }),
|
||||
FoldColumn({ bg = p.bg, fg = p.fg_dark }),
|
||||
|
||||
|
||||
MatchParen({ bg = p.gray, fg = p.yellow }),
|
||||
NonText({ fg = p.fg_dark }),
|
||||
SpecialKey({ fg = p.gray }),
|
||||
Whitespace({ fg = p.gray }),
|
||||
EndOfBuffer({ fg = p.bg }),
|
||||
|
||||
|
||||
-- Spell checking
|
||||
SpellBad({ sp = p.error, style = "undercurl" }),
|
||||
SpellCap({ sp = p.warning, style = "undercurl" }),
|
||||
SpellLocal({ sp = p.info, style = "undercurl" }),
|
||||
SpellRare({ sp = p.hint, style = "undercurl" }),
|
||||
|
||||
|
||||
-- == Standard Syntax Groups (Fallback for no Tree-sitter) == --
|
||||
Comment({ fg = p.fg_comment, style = "italic" }),
|
||||
String({ fg = p.green_bright }),
|
||||
|
|
@ -149,13 +149,13 @@ return lush(function()
|
|||
Constant({ fg = p.purple }),
|
||||
Character({ fg = p.green_bright }),
|
||||
Boolean({ fg = p.orange, style = "italic" }),
|
||||
|
||||
|
||||
Keyword({ fg = p.orange, style = "bold" }),
|
||||
Statement({ fg = p.orange, style = "bold" }),
|
||||
Operator({ fg = p.fg }),
|
||||
Conditional({ fg = p.orange, style = "bold" }),
|
||||
Repeat({ fg = p.orange, style = "bold" }),
|
||||
|
||||
|
||||
Identifier({ fg = p.fg }),
|
||||
Function({ fg = p.yellow }),
|
||||
Type({ fg = p.fg }),
|
||||
|
|
@ -166,14 +166,14 @@ return lush(function()
|
|||
Include({ fg = p.orange }),
|
||||
Define({ fg = p.orange }),
|
||||
Macro({ fg = p.yellow_dark }),
|
||||
|
||||
|
||||
Special({ fg = p.pink }),
|
||||
SpecialChar({ fg = p.pink }),
|
||||
SpecialComment({ fg = p.gray_light, style = "italic" }),
|
||||
Todo({ bg = p.bg_darker, fg = p.green_bright, style = "bold" }),
|
||||
Underlined({ fg = p.blue, style = "underline" }),
|
||||
Error({ fg = p.error }),
|
||||
|
||||
|
||||
-- == Complete Tree-sitter Highlight Groups == --
|
||||
-- Comments
|
||||
["@comment"] = { fg = p.fg_comment, style = "italic" },
|
||||
|
|
@ -182,7 +182,7 @@ return lush(function()
|
|||
["@comment.warning"] = { fg = p.warning, bg = p.warning_bg, style = "bold" },
|
||||
["@comment.error"] = { fg = p.error, bg = p.error_bg, style = "bold" },
|
||||
["@comment.note"] = { fg = p.info, bg = p.info_bg, style = "bold" },
|
||||
|
||||
|
||||
-- Strings
|
||||
["@string"] = { fg = p.green_bright },
|
||||
["@string.documentation"] = { fg = p.green_bright, style = "italic" },
|
||||
|
|
@ -191,12 +191,12 @@ return lush(function()
|
|||
["@string.special"] = { fg = p.pink },
|
||||
["@character"] = { fg = p.green_bright },
|
||||
["@character.special"] = { fg = p.pink },
|
||||
|
||||
|
||||
-- Numbers and Booleans
|
||||
["@number"] = { fg = p.cyan },
|
||||
["@boolean"] = { fg = p.orange, style = "italic" },
|
||||
["@float"] = { fg = p.cyan },
|
||||
|
||||
|
||||
-- Functions and Methods
|
||||
["@function"] = { fg = p.yellow },
|
||||
["@function.builtin"] = { fg = p.blue_dark, style = "italic" },
|
||||
|
|
@ -204,14 +204,14 @@ return lush(function()
|
|||
["@function.macro"] = { fg = p.yellow_dark },
|
||||
["@function.method"] = { fg = p.yellow },
|
||||
["@function.method.call"] = { fg = p.fg },
|
||||
|
||||
|
||||
["@method"] = { fg = p.yellow },
|
||||
["@method.call"] = { fg = p.fg },
|
||||
|
||||
|
||||
["@constructor"] = { fg = p.yellow },
|
||||
["@parameter"] = { fg = p.fg },
|
||||
["@parameter.reference"] = { fg = p.fg, style = "italic" },
|
||||
|
||||
|
||||
-- Keywords
|
||||
["@keyword"] = { fg = p.orange, style = "bold" },
|
||||
["@keyword.function"] = { fg = p.orange, style = "bold" },
|
||||
|
|
@ -224,14 +224,14 @@ return lush(function()
|
|||
["@keyword.storage"] = { fg = p.orange, style = "bold" },
|
||||
["@keyword.directive"] = { fg = p.orange },
|
||||
["@keyword.directive.define"] = { fg = p.orange },
|
||||
|
||||
|
||||
["@conditional"] = { fg = p.orange, style = "bold" },
|
||||
["@conditional.ternary"] = { fg = p.orange },
|
||||
["@repeat"] = { fg = p.orange, style = "bold" },
|
||||
["@label"] = { fg = p.pink },
|
||||
["@operator"] = { fg = p.fg },
|
||||
["@exception"] = { fg = p.orange, style = "bold" },
|
||||
|
||||
|
||||
-- Types
|
||||
["@type"] = { fg = p.fg },
|
||||
["@type.builtin"] = { fg = p.fg, style = "italic" },
|
||||
|
|
@ -241,7 +241,7 @@ return lush(function()
|
|||
["@attribute"] = { fg = p.pink },
|
||||
["@field"] = { fg = p.purple },
|
||||
["@property"] = { fg = p.purple },
|
||||
|
||||
|
||||
-- Variables and Constants
|
||||
["@variable"] = { fg = p.fg },
|
||||
["@variable.builtin"] = { fg = p.purple_dark, style = "italic" },
|
||||
|
|
@ -250,7 +250,7 @@ return lush(function()
|
|||
["@constant"] = { fg = p.purple },
|
||||
["@constant.builtin"] = { fg = p.purple, style = "italic" },
|
||||
["@constant.macro"] = { fg = p.purple },
|
||||
|
||||
|
||||
-- Namespaces and Includes
|
||||
["@module"] = { fg = p.fg },
|
||||
["@namespace"] = { fg = p.fg },
|
||||
|
|
@ -260,12 +260,12 @@ return lush(function()
|
|||
["@preproc"] = { fg = p.orange },
|
||||
["@define"] = { fg = p.orange },
|
||||
["@macro"] = { fg = p.yellow_dark },
|
||||
|
||||
|
||||
-- Punctuation
|
||||
["@punctuation.delimiter"] = { fg = p.fg },
|
||||
["@punctuation.bracket"] = { fg = p.fg },
|
||||
["@punctuation.special"] = { fg = p.pink },
|
||||
|
||||
|
||||
-- Markup (for markdown, etc.)
|
||||
["@markup"] = { fg = p.fg },
|
||||
["@markup.heading"] = { fg = p.orange, style = "bold" },
|
||||
|
|
@ -291,12 +291,12 @@ return lush(function()
|
|||
["@markup.math"] = { fg = p.cyan },
|
||||
["@markup.environment"] = { fg = p.orange },
|
||||
["@markup.environment.name"] = { fg = p.orange },
|
||||
|
||||
|
||||
-- Tags (HTML/XML)
|
||||
["@tag"] = { fg = p.orange },
|
||||
["@tag.attribute"] = { fg = p.purple, style = "italic" },
|
||||
["@tag.delimiter"] = { fg = p.fg_dark },
|
||||
|
||||
|
||||
-- Text
|
||||
["@text"] = { fg = p.fg },
|
||||
["@text.strong"] = { style = "bold" },
|
||||
|
|
@ -311,13 +311,13 @@ return lush(function()
|
|||
["@text.warning"] = { fg = p.warning, style = "bold" },
|
||||
["@text.danger"] = { fg = p.error, style = "bold" },
|
||||
["@text.note"] = { fg = p.info, style = "bold" },
|
||||
|
||||
|
||||
-- Diff
|
||||
DiffAdd({ bg = p.diff_add }),
|
||||
DiffChange({ bg = p.diff_change }),
|
||||
DiffDelete({ bg = p.diff_delete, fg = p.diff_text }),
|
||||
DiffText({ bg = p.warning_bg, fg = p.warning }),
|
||||
|
||||
|
||||
-- Neogit
|
||||
NeogitBranch({ fg = p.purple }),
|
||||
NeogitRemote({ fg = p.cyan }),
|
||||
|
|
@ -326,20 +326,20 @@ return lush(function()
|
|||
NeogitDiffContextHighlight({ bg = p.bg_current_line }),
|
||||
NeogitDiffDeleteHighlight({ bg = p.diff_delete, fg = p.diff_text }),
|
||||
NeogitDiffAddHighlight({ bg = p.diff_add }),
|
||||
|
||||
|
||||
-- vim-fugitive
|
||||
fugitiveHeader({ fg = p.orange, style = "bold" }),
|
||||
fugitiveUntrackedModifier({ fg = p.error }),
|
||||
fugitiveUnstagedModifier({ fg = p.warning }),
|
||||
fugitiveStagedModifier({ fg = p.hint }),
|
||||
|
||||
|
||||
-- indent-blankline
|
||||
IndentBlanklineChar({ fg = p.bg_gutter }),
|
||||
IndentBlanklineContextChar({ fg = p.gray }),
|
||||
IndentBlanklineContextStart({ sp = p.gray, style = "underline" }),
|
||||
IndentBlanklineSpaceChar({ fg = p.bg_gutter }),
|
||||
IndentBlanklineSpaceCharBlankline({ fg = p.bg_gutter }),
|
||||
|
||||
|
||||
-- nvim-notify
|
||||
NotifyERRORBorder({ fg = p.error }),
|
||||
NotifyERRORIcon({ fg = p.error }),
|
||||
|
|
@ -356,14 +356,14 @@ return lush(function()
|
|||
NotifyTRACEBorder({ fg = p.purple }),
|
||||
NotifyTRACEIcon({ fg = p.purple }),
|
||||
NotifyTRACETitle({ fg = p.purple }),
|
||||
|
||||
|
||||
-- nvim-dap (debugging)
|
||||
DapBreakpoint({ fg = p.error }),
|
||||
DapBreakpointCondition({ fg = p.warning }),
|
||||
DapBreakpointRejected({ fg = p.fg_dark }),
|
||||
DapLogPoint({ fg = p.info }),
|
||||
DapStopped({ bg = p.bg_visual, fg = p.yellow }),
|
||||
|
||||
|
||||
-- nvim-dap-ui
|
||||
DapUIVariable({ fg = p.fg }),
|
||||
DapUIValue({ fg = p.cyan }),
|
||||
|
|
@ -374,7 +374,7 @@ return lush(function()
|
|||
DapUIBreakpointsPath({ fg = p.cyan }),
|
||||
DapUIBreakpointsCurrentLine({ fg = p.yellow, style = "bold" }),
|
||||
DapUIStoppedThread({ fg = p.hint }),
|
||||
|
||||
|
||||
-- lualine support (for custom themes)
|
||||
LualineNormal({ bg = p.bg_light, fg = p.fg }),
|
||||
LualineInsert({ bg = p.hint, fg = p.bg }),
|
||||
|
|
@ -382,7 +382,7 @@ return lush(function()
|
|||
LualineReplace({ bg = p.error, fg = p.bg }),
|
||||
LualineCommand({ bg = p.orange, fg = p.bg }),
|
||||
LualineInactive({ bg = p.bg_gutter, fg = p.fg_dark }),
|
||||
|
||||
|
||||
-- which-key
|
||||
WhichKey({ fg = p.orange, style = "bold" }),
|
||||
WhichKeyGroup({ fg = p.purple }),
|
||||
|
|
@ -391,7 +391,7 @@ return lush(function()
|
|||
WhichKeySeparator({ fg = p.fg_comment }),
|
||||
WhichKeyFloat({ bg = p.bg_light }),
|
||||
WhichKeyValue({ fg = p.cyan }),
|
||||
|
||||
|
||||
-- dashboard-nvim
|
||||
DashboardHeader({ fg = p.orange }),
|
||||
DashboardCenter({ fg = p.purple }),
|
||||
|
|
@ -399,13 +399,13 @@ return lush(function()
|
|||
DashboardKey({ fg = p.orange, style = "bold" }),
|
||||
DashboardDesc({ fg = p.fg }),
|
||||
DashboardIcon({ fg = p.cyan }),
|
||||
|
||||
|
||||
-- alpha-nvim
|
||||
AlphaHeader({ fg = p.orange }),
|
||||
AlphaButtons({ fg = p.purple }),
|
||||
AlphaShortcut({ fg = p.orange, style = "bold" }),
|
||||
AlphaFooter({ fg = p.fg_comment, style = "italic" }),
|
||||
|
||||
|
||||
-- neo-tree
|
||||
NeoTreeNormal({ bg = p.bg, fg = p.fg }),
|
||||
NeoTreeNormalNC({ bg = p.bg, fg = p.fg }),
|
||||
|
|
@ -428,19 +428,19 @@ return lush(function()
|
|||
NeoTreeTabInactive({ bg = p.bg_gutter, fg = p.fg_dark }),
|
||||
NeoTreeTabSeparatorActive({ fg = p.border, bg = p.bg }),
|
||||
NeoTreeTabSeparatorInactive({ fg = p.border_dark, bg = p.bg_gutter }),
|
||||
|
||||
|
||||
-- bufferline.nvim
|
||||
BufferLineIndicatorSelected({ fg = p.orange }),
|
||||
BufferLineFill({ bg = p.bg_darker }),
|
||||
BufferLineBufferSelected({ fg = p.fg, style = "bold" }),
|
||||
BufferLineBackground({ bg = p.bg_gutter, fg = p.fg_dark }),
|
||||
|
||||
|
||||
-- leap.nvim
|
||||
LeapMatch({ bg = p.bg_visual, fg = p.yellow, style = "bold" }),
|
||||
LeapLabelPrimary({ bg = p.orange, fg = p.bg, style = "bold" }),
|
||||
LeapLabelSecondary({ bg = p.cyan, fg = p.bg, style = "bold" }),
|
||||
LeapBackdrop({ fg = p.fg_dark }),
|
||||
|
||||
|
||||
-- hop.nvim
|
||||
HopNextKey({ fg = p.orange, style = "bold" }),
|
||||
HopNextKey1({ fg = p.cyan, style = "bold" }),
|
||||
|
|
@ -448,12 +448,12 @@ return lush(function()
|
|||
HopUnmatched({ fg = p.fg_dark }),
|
||||
HopCursor({ bg = p.orange, fg = p.bg }),
|
||||
HopPreview({ bg = p.bg_visual, fg = p.yellow }),
|
||||
|
||||
|
||||
-- nvim-treesitter-context
|
||||
TreesitterContext({ bg = p.bg_darker }),
|
||||
TreesitterContextLineNumber({ bg = p.bg_darker, fg = p.yellow }),
|
||||
TreesitterContextBottom({ style = "underline", sp = p.border_dark }),
|
||||
|
||||
|
||||
-- nvim-scrollbar
|
||||
ScrollbarHandle({ bg = p.bg_light }),
|
||||
ScrollbarSearchHandle({ bg = p.bg_visual, fg = p.yellow }),
|
||||
|
|
@ -468,7 +468,7 @@ return lush(function()
|
|||
ScrollbarHint({ fg = p.hint }),
|
||||
ScrollbarMiscHandle({ bg = p.bg_light, fg = p.purple }),
|
||||
ScrollbarMisc({ fg = p.purple }),
|
||||
|
||||
|
||||
-- trouble.nvim
|
||||
TroubleText({ fg = p.fg }),
|
||||
TroubleCount({ bg = p.bg_visual, fg = p.yellow, style = "bold" }),
|
||||
|
|
@ -481,7 +481,7 @@ return lush(function()
|
|||
TroubleFoldIcon({ fg = p.orange }),
|
||||
TroubleIndent({ fg = p.fg_dark }),
|
||||
TroubleLocation({ fg = p.fg_comment }),
|
||||
|
||||
|
||||
-- mason.nvim
|
||||
MasonNormal({ bg = p.bg_light, fg = p.fg }),
|
||||
MasonHeader({ bg = p.orange, fg = p.bg, style = "bold" }),
|
||||
|
|
@ -495,7 +495,7 @@ return lush(function()
|
|||
MasonMuted({ fg = p.fg_comment }),
|
||||
MasonMutedBlock({ bg = p.bg_darker, fg = p.fg_comment }),
|
||||
MasonMutedBlockBold({ bg = p.bg_darker, fg = p.fg_comment, style = "bold" }),
|
||||
|
||||
|
||||
-- noice.nvim
|
||||
NoiceNormal({ bg = p.bg_light, fg = p.fg }),
|
||||
NoiceBorder({ fg = p.border, bg = p.bg_light }),
|
||||
|
|
@ -503,7 +503,7 @@ return lush(function()
|
|||
NoiceCmdlineIcon({ fg = p.orange }),
|
||||
NoiceConfirmBorder({ fg = p.border }),
|
||||
NoiceFormatTitle({ fg = p.orange, style = "bold" }),
|
||||
|
||||
|
||||
-- nvim-navic
|
||||
NavicIconsFile({ fg = p.fg }),
|
||||
NavicIconsModule({ fg = p.fg }),
|
||||
|
|
@ -533,17 +533,17 @@ return lush(function()
|
|||
NavicIconsTypeParameter({ fg = p.fg }),
|
||||
NavicText({ fg = p.fg }),
|
||||
NavicSeparator({ fg = p.fg_comment }),
|
||||
|
||||
|
||||
-- symbols-outline.nvim
|
||||
FocusedSymbol({ bg = p.bg_visual, fg = p.yellow, style = "bold" }),
|
||||
SymbolsOutlineConnector({ fg = p.fg_dark }),
|
||||
|
||||
|
||||
-- aerial.nvim
|
||||
AerialNormal({ bg = p.bg, fg = p.fg }),
|
||||
AerialBorder({ fg = p.border }),
|
||||
AerialLine({ bg = p.bg_visual }),
|
||||
AerialLineNC({ bg = p.bg_current_line }),
|
||||
|
||||
|
||||
-- nvim-ufo (folding)
|
||||
UfoFoldedBg({ bg = p.bg_darker }),
|
||||
UfoFoldedFg({ fg = p.fg }),
|
||||
|
|
@ -552,7 +552,7 @@ return lush(function()
|
|||
UfoPreviewThumb({ bg = p.fg_dark }),
|
||||
UfoPreviewWinBar({ bg = p.bg, fg = p.fg }),
|
||||
UfoFoldedEllipsis({ fg = p.fg_comment }),
|
||||
|
||||
|
||||
-- headlines.nvim (markdown)
|
||||
Headline1({ bg = hsl("#3C2E26") }),
|
||||
Headline2({ bg = hsl("#36302C") }),
|
||||
|
|
@ -562,12 +562,12 @@ return lush(function()
|
|||
Headline6({ bg = hsl("#312D39") }),
|
||||
CodeBlock({ bg = p.bg_darker }),
|
||||
Dash({ fg = p.orange, style = "bold" }),
|
||||
}
|
||||
end)
|
||||
|
||||
-- Diff
|
||||
["@text.diff.add"] = { bg = p.diff_add },
|
||||
["@text.diff.delete"] = { bg = p.diff_delete, fg = p.diff_text },
|
||||
["@text.diff.change"] = { bg = p.diff_change },
|
||||
|
||||
|
||||
-- == LSP Semantic Token Support == --
|
||||
["@lsp.type.class"] = { fg = p.fg },
|
||||
["@lsp.type.struct"] = { fg = p.fg },
|
||||
|
|
@ -590,7 +590,7 @@ end)
|
|||
["@lsp.type.regexp"] = { fg = p.pink },
|
||||
["@lsp.type.operator"] = { fg = p.fg },
|
||||
["@lsp.type.decorator"] = { fg = p.pink },
|
||||
|
||||
|
||||
-- LSP Modifiers
|
||||
["@lsp.mod.deprecated"] = { style = "strikethrough" },
|
||||
["@lsp.mod.readonly"] = { style = "italic" },
|
||||
|
|
@ -599,7 +599,7 @@ end)
|
|||
["@lsp.mod.async"] = { style = "italic" },
|
||||
["@lsp.mod.documentation"] = { style = "italic" },
|
||||
["@lsp.mod.defaultLibrary"] = { style = "italic" },
|
||||
|
||||
|
||||
-- Combined type-modifier highlights
|
||||
["@lsp.typemod.function.readonly"] = { fg = p.yellow, style = "italic" },
|
||||
["@lsp.typemod.variable.readonly"] = { fg = p.purple, style = "italic" },
|
||||
|
|
@ -607,63 +607,63 @@ end)
|
|||
["@lsp.typemod.property.readonly"] = { fg = p.purple, style = "italic" },
|
||||
["@lsp.typemod.class.deprecated"] = { fg = p.fg, style = "strikethrough" },
|
||||
["@lsp.typemod.function.deprecated"] = { fg = p.yellow, style = "strikethrough" },
|
||||
|
||||
|
||||
-- == LSP Diagnostics == --
|
||||
DiagnosticError({ fg = p.error }),
|
||||
DiagnosticWarn({ fg = p.warning }),
|
||||
DiagnosticInfo({ fg = p.info }),
|
||||
DiagnosticHint({ fg = p.hint }),
|
||||
DiagnosticOk({ fg = p.hint }),
|
||||
|
||||
|
||||
DiagnosticVirtualTextError({ fg = p.error, bg = p.error_bg }),
|
||||
DiagnosticVirtualTextWarn({ fg = p.warning, bg = p.warning_bg }),
|
||||
DiagnosticVirtualTextInfo({ fg = p.info, bg = p.info_bg }),
|
||||
DiagnosticVirtualTextHint({ fg = p.hint, bg = p.hint_bg }),
|
||||
DiagnosticVirtualTextOk({ fg = p.hint, bg = p.hint_bg }),
|
||||
|
||||
|
||||
DiagnosticUnderlineError({ sp = p.error, style = "undercurl" }),
|
||||
DiagnosticUnderlineWarn({ sp = p.warning, style = "undercurl" }),
|
||||
DiagnosticUnderlineInfo({ sp = p.info, style = "undercurl" }),
|
||||
DiagnosticUnderlineHint({ sp = p.hint, style = "undercurl" }),
|
||||
DiagnosticUnderlineOk({ sp = p.hint, style = "undercurl" }),
|
||||
|
||||
|
||||
DiagnosticFloatingError({ fg = p.error, bg = p.bg_light }),
|
||||
DiagnosticFloatingWarn({ fg = p.warning, bg = p.bg_light }),
|
||||
DiagnosticFloatingInfo({ fg = p.info, bg = p.bg_light }),
|
||||
DiagnosticFloatingHint({ fg = p.hint, bg = p.bg_light }),
|
||||
DiagnosticFloatingOk({ fg = p.hint, bg = p.bg_light }),
|
||||
|
||||
|
||||
DiagnosticSignError({ fg = p.error, bg = p.bg }),
|
||||
DiagnosticSignWarn({ fg = p.warning, bg = p.bg }),
|
||||
DiagnosticSignInfo({ fg = p.info, bg = p.bg }),
|
||||
DiagnosticSignHint({ fg = p.hint, bg = p.bg }),
|
||||
DiagnosticSignOk({ fg = p.hint, bg = p.bg }),
|
||||
|
||||
|
||||
-- Legacy LSP Diagnostics (for compatibility)
|
||||
LspDiagnosticsDefaultError({ link = "DiagnosticError" }),
|
||||
LspDiagnosticsDefaultWarning({ link = "DiagnosticWarn" }),
|
||||
LspDiagnosticsDefaultInformation({ link = "DiagnosticInfo" }),
|
||||
LspDiagnosticsDefaultHint({ link = "DiagnosticHint" }),
|
||||
|
||||
|
||||
LspDiagnosticsVirtualTextError({ link = "DiagnosticVirtualTextError" }),
|
||||
LspDiagnosticsVirtualTextWarning({ link = "DiagnosticVirtualTextWarn" }),
|
||||
LspDiagnosticsVirtualTextInformation({ link = "DiagnosticVirtualTextInfo" }),
|
||||
LspDiagnosticsVirtualTextHint({ link = "DiagnosticVirtualTextHint" }),
|
||||
|
||||
|
||||
LspDiagnosticsUnderlineError({ link = "DiagnosticUnderlineError" }),
|
||||
LspDiagnosticsUnderlineWarning({ link = "DiagnosticUnderlineWarn" }),
|
||||
LspDiagnosticsUnderlineInformation({ link = "DiagnosticUnderlineInfo" }),
|
||||
LspDiagnosticsUnderlineHint({ link = "DiagnosticUnderlineHint" }),
|
||||
|
||||
|
||||
-- LSP References
|
||||
LspReferenceText({ bg = p.bg_darker }),
|
||||
LspReferenceRead({ bg = p.bg_darker }),
|
||||
LspReferenceWrite({ bg = p.bg_darker, style = "underline" }),
|
||||
|
||||
|
||||
-- LSP Code Lens
|
||||
LspCodeLens({ fg = p.gray_light }),
|
||||
LspCodeLensSeparator({ fg = p.gray }),
|
||||
|
||||
|
||||
-- == Plugin Support == --
|
||||
-- NvimTree
|
||||
NvimTreeNormal({ bg = p.bg, fg = p.fg }),
|
||||
|
|
@ -684,7 +684,7 @@ end)
|
|||
NvimTreeGitMerge({ fg = p.error }),
|
||||
NvimTreeGitNew({ fg = p.hint }),
|
||||
NvimTreeGitDeleted({ fg = p.error }),
|
||||
|
||||
|
||||
-- Telescope
|
||||
TelescopeNormal({ bg = p.bg_light, fg = p.fg }),
|
||||
TelescopeBorder({ fg = p.border, bg = p.bg_light }),
|
||||
|
|
@ -702,7 +702,7 @@ end)
|
|||
TelescopeSelectionCaret({ fg = p.orange, bg = p.bg_visual }),
|
||||
TelescopeMultiSelection({ bg = p.bg_darker, fg = p.fg }),
|
||||
TelescopeMatching({ fg = p.yellow, style = "bold" }),
|
||||
|
||||
|
||||
-- nvim-cmp
|
||||
CmpItemAbbr({ fg = p.fg }),
|
||||
CmpItemAbbrDeprecated({ fg = p.fg_dark, style = "strikethrough" }),
|
||||
|
|
@ -735,7 +735,7 @@ end)
|
|||
CmpItemKindOperator({ fg = p.fg }),
|
||||
CmpItemKindTypeParameter({ fg = p.fg }),
|
||||
CmpItemMenu({ fg = p.fg_comment }),
|
||||
|
||||
|
||||
-- GitSigns
|
||||
GitSignsAdd({ fg = p.hint }),
|
||||
GitSignsAddNr({ fg = p.hint }),
|
||||
|
|
@ -747,13 +747,13 @@ end)
|
|||
GitSignsDeleteNr({ fg = p.error }),
|
||||
GitSignsDeleteLn({ bg = p.diff_delete }),
|
||||
GitSignsCurrentLineBlame({ fg = p.fg_comment }),
|
||||
|
||||
|
||||
-- Diff
|
||||
DiffAdd({ bg = p.diff_add }),
|
||||
DiffChange({ bg = p.diff_change }),
|
||||
DiffDelete({ bg = p.diff_delete, fg = p.diff_text }),
|
||||
DiffText({ bg = p.warning_bg, fg = p.warning }),
|
||||
|
||||
|
||||
-- Neogit
|
||||
NeogitBranch({ fg = p.purple }),
|
||||
NeogitRemote({ fg = p.cyan }),
|
||||
|
|
@ -762,20 +762,20 @@ end)
|
|||
NeogitDiffContextHighlight({ bg = p.bg_current_line }),
|
||||
NeogitDiffDeleteHighlight({ bg = p.diff_delete, fg = p.diff_text }),
|
||||
NeogitDiffAddHighlight({ bg = p.diff_add }),
|
||||
|
||||
|
||||
-- vim-fugitive
|
||||
fugitiveHeader({ fg = p.orange, style = "bold" }),
|
||||
fugitiveUntrackedModifier({ fg = p.error }),
|
||||
fugitiveUnstagedModifier({ fg = p.warning }),
|
||||
fugitiveStagedModifier({ fg = p.hint }),
|
||||
|
||||
|
||||
-- indent-blankline
|
||||
IndentBlanklineChar({ fg = p.bg_gutter }),
|
||||
IndentBlanklineContextChar({ fg = p.gray }),
|
||||
IndentBlanklineContextStart({ sp = p.gray, style = "underline" }),
|
||||
IndentBlanklineSpaceChar({ fg = p.bg_gutter }),
|
||||
IndentBlanklineSpaceCharBlankline({ fg = p.bg_gutter }),
|
||||
|
||||
|
||||
-- nvim-notify
|
||||
NotifyERRORBorder({ fg = p.error }),
|
||||
NotifyERRORIcon({ fg = p.error }),
|
||||
|
|
@ -792,14 +792,14 @@ end)
|
|||
NotifyTRACEBorder({ fg = p.purple }),
|
||||
NotifyTRACEIcon({ fg = p.purple }),
|
||||
NotifyTRACETitle({ fg = p.purple }),
|
||||
|
||||
|
||||
-- nvim-dap (debugging)
|
||||
DapBreakpoint({ fg = p.error }),
|
||||
DapBreakpointCondition({ fg = p.warning }),
|
||||
DapBreakpointRejected({ fg = p.fg_dark }),
|
||||
DapLogPoint({ fg = p.info }),
|
||||
DapStopped({ bg = p.bg_visual, fg = p.yellow }),
|
||||
|
||||
|
||||
-- nvim-dap-ui
|
||||
DapUIVariable({ fg = p.fg }),
|
||||
DapUIValue({ fg = p.cyan }),
|
||||
|
|
@ -810,7 +810,7 @@ end)
|
|||
DapUIBreakpointsPath({ fg = p.cyan }),
|
||||
DapUIBreakpointsCurrentLine({ fg = p.yellow, style = "bold" }),
|
||||
DapUIStoppedThread({ fg = p.hint }),
|
||||
|
||||
|
||||
-- lualine support (for custom themes)
|
||||
LualineNormal({ bg = p.bg_light, fg = p.fg }),
|
||||
LualineInsert({ bg = p.hint, fg = p.bg }),
|
||||
|
|
@ -818,7 +818,7 @@ end)
|
|||
LualineReplace({ bg = p.error, fg = p.bg }),
|
||||
LualineCommand({ bg = p.orange, fg = p.bg }),
|
||||
LualineInactive({ bg = p.bg_gutter, fg = p.fg_dark }),
|
||||
|
||||
|
||||
-- which-key
|
||||
WhichKey({ fg = p.orange, style = "bold" }),
|
||||
WhichKeyGroup({ fg = p.purple }),
|
||||
|
|
@ -827,7 +827,7 @@ end)
|
|||
WhichKeySeparator({ fg = p.fg_comment }),
|
||||
WhichKeyFloat({ bg = p.bg_light }),
|
||||
WhichKeyValue({ fg = p.cyan }),
|
||||
|
||||
|
||||
-- dashboard-nvim
|
||||
DashboardHeader({ fg = p.orange }),
|
||||
DashboardCenter({ fg = p.purple }),
|
||||
|
|
@ -835,13 +835,13 @@ end)
|
|||
DashboardKey({ fg = p.orange, style = "bold" }),
|
||||
DashboardDesc({ fg = p.fg }),
|
||||
DashboardIcon({ fg = p.cyan }),
|
||||
|
||||
|
||||
-- alpha-nvim
|
||||
AlphaHeader({ fg = p.orange }),
|
||||
AlphaButtons({ fg = p.purple }),
|
||||
AlphaShortcut({ fg = p.orange, style = "bold" }),
|
||||
AlphaFooter({ fg = p.fg_comment, style = "italic" }),
|
||||
|
||||
|
||||
-- neo-tree
|
||||
NeoTreeNormal({ bg = p.bg, fg = p.fg }),
|
||||
NeoTreeNormalNC({ bg = p.bg, fg = p.fg }),
|
||||
|
|
@ -864,19 +864,19 @@ end)
|
|||
NeoTreeTabInactive({ bg = p.bg_gutter, fg = p.fg_dark }),
|
||||
NeoTreeTabSeparatorActive({ fg = p.border, bg = p.bg }),
|
||||
NeoTreeTabSeparatorInactive({ fg = p.border_dark, bg = p.bg_gutter }),
|
||||
|
||||
|
||||
-- bufferline.nvim
|
||||
BufferLineIndicatorSelected({ fg = p.orange }),
|
||||
BufferLineFill({ bg = p.bg_darker }),
|
||||
BufferLineBufferSelected({ fg = p.fg, style = "bold" }),
|
||||
BufferLineBackground({ bg = p.bg_gutter, fg = p.fg_dark }),
|
||||
|
||||
|
||||
-- leap.nvim
|
||||
LeapMatch({ bg = p.bg_visual, fg = p.yellow, style = "bold" }),
|
||||
LeapLabelPrimary({ bg = p.orange, fg = p.bg, style = "bold" }),
|
||||
LeapLabelSecondary({ bg = p.cyan, fg = p.bg, style = "bold" }),
|
||||
LeapBackdrop({ fg = p.fg_dark }),
|
||||
|
||||
|
||||
-- hop.nvim
|
||||
HopNextKey({ fg = p.orange, style = "bold" }),
|
||||
HopNextKey1({ fg = p.cyan, style = "bold" }),
|
||||
|
|
@ -884,12 +884,12 @@ end)
|
|||
HopUnmatched({ fg = p.fg_dark }),
|
||||
HopCursor({ bg = p.orange, fg = p.bg }),
|
||||
HopPreview({ bg = p.bg_visual, fg = p.yellow }),
|
||||
|
||||
|
||||
-- nvim-treesitter-context
|
||||
TreesitterContext({ bg = p.bg_darker }),
|
||||
TreesitterContextLineNumber({ bg = p.bg_darker, fg = p.yellow }),
|
||||
TreesitterContextBottom({ style = "underline", sp = p.border_dark }),
|
||||
|
||||
|
||||
-- nvim-scrollbar
|
||||
ScrollbarHandle({ bg = p.bg_light }),
|
||||
ScrollbarSearchHandle({ bg = p.bg_visual, fg = p.yellow }),
|
||||
|
|
@ -904,7 +904,7 @@ end)
|
|||
ScrollbarHint({ fg = p.hint }),
|
||||
ScrollbarMiscHandle({ bg = p.bg_light, fg = p.purple }),
|
||||
ScrollbarMisc({ fg = p.purple }),
|
||||
|
||||
|
||||
-- trouble.nvim
|
||||
TroubleText({ fg = p.fg }),
|
||||
TroubleCount({ bg = p.bg_visual, fg = p.yellow, style = "bold" }),
|
||||
|
|
@ -917,7 +917,7 @@ end)
|
|||
TroubleFoldIcon({ fg = p.orange }),
|
||||
TroubleIndent({ fg = p.fg_dark }),
|
||||
TroubleLocation({ fg = p.fg_comment }),
|
||||
|
||||
|
||||
-- mason.nvim
|
||||
MasonNormal({ bg = p.bg_light, fg = p.fg }),
|
||||
MasonHeader({ bg = p.orange, fg = p.bg, style = "bold" }),
|
||||
|
|
@ -931,7 +931,7 @@ end)
|
|||
MasonMuted({ fg = p.fg_comment }),
|
||||
MasonMutedBlock({ bg = p.bg_darker, fg = p.fg_comment }),
|
||||
MasonMutedBlockBold({ bg = p.bg_darker, fg = p.fg_comment, style = "bold" }),
|
||||
|
||||
|
||||
-- noice.nvim
|
||||
NoiceNormal({ bg = p.bg_light, fg = p.fg }),
|
||||
NoiceBorder({ fg = p.border, bg = p.bg_light }),
|
||||
|
|
@ -939,7 +939,7 @@ end)
|
|||
NoiceCmdlineIcon({ fg = p.orange }),
|
||||
NoiceConfirmBorder({ fg = p.border }),
|
||||
NoiceFormatTitle({ fg = p.orange, style = "bold" }),
|
||||
|
||||
|
||||
-- nvim-navic
|
||||
NavicIconsFile({ fg = p.fg }),
|
||||
NavicIconsModule({ fg = p.fg }),
|
||||
|
|
@ -969,17 +969,17 @@ end)
|
|||
NavicIconsTypeParameter({ fg = p.fg }),
|
||||
NavicText({ fg = p.fg }),
|
||||
NavicSeparator({ fg = p.fg_comment }),
|
||||
|
||||
|
||||
-- symbols-outline.nvim
|
||||
FocusedSymbol({ bg = p.bg_visual, fg = p.yellow, style = "bold" }),
|
||||
SymbolsOutlineConnector({ fg = p.fg_dark }),
|
||||
|
||||
|
||||
-- aerial.nvim
|
||||
AerialNormal({ bg = p.bg, fg = p.fg }),
|
||||
AerialBorder({ fg = p.border }),
|
||||
AerialLine({ bg = p.bg_visual }),
|
||||
AerialLineNC({ bg = p.bg_current_line }),
|
||||
|
||||
|
||||
-- nvim-ufo (folding)
|
||||
UfoFoldedBg({ bg = p.bg_darker }),
|
||||
UfoFoldedFg({ fg = p.fg }),
|
||||
|
|
@ -988,7 +988,7 @@ end)
|
|||
UfoPreviewThumb({ bg = p.fg_dark }),
|
||||
UfoPreviewWinBar({ bg = p.bg, fg = p.fg }),
|
||||
UfoFoldedEllipsis({ fg = p.fg_comment }),
|
||||
|
||||
|
||||
-- headlines.nvim (markdown)
|
||||
Headline1({ bg = hsl("#3C2E26") }),
|
||||
Headline2({ bg = hsl("#36302C") }),
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue