Something went wrong. Try again.
My most minimal NixOS configuration.
Something went wrong. Try again.
51 kB · 1042 lines
Lua
at main
12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043local g = vim.glocal highlight = vim.api.nvim_set_hl
local none = "NONE"-- Background and foregroundlocal black = "#080808"local white = "#c6c6c6"local bg = blackif g.moonflyTransparent then bg = noneend-- Variations of charcoal-greylocal grey0 = "#323437"local grey1 = "#373c4d"local grey254 = "#e4e4e4"local grey249 = "#b2b2b2"local grey247 = "#9e9e9e"local grey246 = "#949494"local grey244 = "#808080"local grey241 = "#626262"local grey239 = "#4e4e4e"local grey238 = "#444444"local grey237 = "#3a3a3a"local grey236 = "#303030"local grey235 = "#262626"local grey234 = "#1c1c1c"local grey233 = "#121212"-- Core theme colorslocal khaki = "#c2c292"local yellow = "#e3c78a"local orange = "#de935f"local coral = "#f09479"local orchid = "#e196a2"local lime = "#85dc85"local green = "#8cc85f"local emerald = "#36c692"local blue = "#80a0ff"local sky = "#74b2ff"local turquoise = "#79dac8"local purple = "#ae81ff"local cranberry = "#e65e72"local violet = "#cf87e8"local crimson = "#ff5189"local red = "#ff5454"-- Extra colorslocal spring = "#00875f"
local M = {}
M.palette = { black = black, white = white, bg = bg, grey0 = grey0, grey1 = grey1, grey254 = grey254, grey249 = grey249, grey247 = grey247, grey246 = grey246, grey244 = grey244, grey241 = grey241, grey239 = grey239, grey238 = grey238, grey237 = grey237, grey236 = grey236, grey235 = grey235, grey234 = grey234, grey233 = grey233, khaki = khaki, yellow = yellow, orange = orange, coral = coral, orchid = orchid, lime = lime, green = green, emerald = emerald, blue = blue, sky = sky, turquoise = turquoise, purple = purple, cranberry = cranberry, violet = violet, crimson = crimson, red = red, spring = spring,}
M.style = function() ------------------------------------------------------------------------- -- Custom styling groups -------------------------------------------------------------------------
highlight(0, "MoonflyVisual", { bg = grey0 }) highlight(0, "MoonflyWhite", { fg = white }) highlight(0, "MoonflyGrey0", { fg = grey0 }) highlight(0, "MoonflyGrey254", { fg = grey254 }) highlight(0, "MoonflyGrey249", { fg = grey249 }) highlight(0, "MoonflyGrey247", { fg = grey247 }) highlight(0, "MoonflyGrey246", { fg = grey246 }) highlight(0, "MoonflyGrey241", { fg = grey241 }) highlight(0, "MoonflyGrey239", { fg = grey239 }) highlight(0, "MoonflyGrey238", { fg = grey238 }) highlight(0, "MoonflyGrey237", { fg = grey237 }) highlight(0, "MoonflyGrey236", { fg = grey236 }) highlight(0, "MoonflyGrey235", { fg = grey235 }) highlight(0, "MoonflyKhaki", { fg = khaki }) highlight(0, "MoonflyYellow", { fg = yellow }) highlight(0, "MoonflyOrange", { fg = orange }) highlight(0, "MoonflyCoral", { fg = coral }) highlight(0, "MoonflyOrchid", { fg = orchid }) highlight(0, "MoonflyLime", { fg = lime }) highlight(0, "MoonflyGreen", { fg = green }) highlight(0, "MoonflyEmerald", { fg = emerald }) highlight(0, "MoonflyBlue", { fg = blue }) highlight(0, "MoonflySky", { fg = sky }) highlight(0, "MoonflyTurquoise", { fg = turquoise }) highlight(0, "MoonflyPurple", { fg = purple }) highlight(0, "MoonflyCranberry", { fg = cranberry }) highlight(0, "MoonflyViolet", { fg = violet }) highlight(0, "MoonflyCrimson", { fg = crimson }) highlight(0, "MoonflyRed", { fg = red }) -- Misc helpers highlight(0, "MoonflyUnderline", { underline = true }) highlight(0, "MoonflyNoCombine", { nocombine = true }) -- Statusline helper colors highlight(0, "MoonflyBlueMode", { bg = blue, fg = grey234 }) highlight(0, "MoonflyEmeraldMode", { bg = emerald, fg = grey234 }) highlight(0, "MoonflyPurpleMode", { bg = purple, fg = grey234 }) highlight(0, "MoonflyCrimsonMode", { bg = crimson, fg = grey234 }) highlight(0, "MoonflyYellowMode", { bg = yellow, fg = grey234 }) highlight(0, "MoonflyTurquoiseMode", { bg = turquoise, fg = grey234 }) -- Generic line helper colors highlight(0, "MoonflyCrimsonLine", { bg = grey236, fg = crimson }) highlight(0, "MoonflyEmeraldLine", { bg = grey236, fg = emerald }) highlight(0, "MoonflyGrey246Line", { bg = grey234, fg = grey246 }) highlight(0, "MoonflyYellowLine", { bg = grey234, fg = yellow }) highlight(0, "MoonflyBlueLineActive", { bg = grey238, fg = blue }) highlight(0, "MoonflyRedLineActive", { bg = grey238, fg = red }) highlight(0, "MoonflyWhiteLineActive", { bg = grey238, fg = grey254 }) highlight(0, "MoonflyYellowLineActive", { bg = grey238, fg = yellow }) -- Diagnostic helper colors highlight(0, "MoonflyDiagnosticUndercurlError", { undercurl = true, sp = red }) highlight(0, "MoonflyDiagnosticUndercurlWarn", { undercurl = true, sp = yellow }) highlight(0, "MoonflyDiagnosticUndercurlInfo", { undercurl = true, sp = sky }) highlight(0, "MoonflyDiagnosticUndercurlHint", { undercurl = true, sp = white }) highlight(0, "MoonflyDiagnosticUnderlineError", { underline = true, sp = red }) highlight(0, "MoonflyDiagnosticUnderlineWarn", { underline = true, sp = yellow }) highlight(0, "MoonflyDiagnosticUnderlineInfo", { underline = true, sp = sky }) highlight(0, "MoonflyDiagnosticUnderlineHint", { underline = true, sp = white }) highlight(0, "MoonflyDiagnosticVirtualTextError", { bg = grey234, fg = red }) highlight(0, "MoonflyDiagnosticVirtualTextWarn", { bg = grey234, fg = yellow }) highlight(0, "MoonflyDiagnosticVirtualTextInfo", { bg = grey234, fg = sky }) highlight(0, "MoonflyDiagnosticVirtualTextHint", { bg = grey234, fg = white })
------------------------------------------------------------------------- -- Standard styling -------------------------------------------------------------------------
-- Specify the colors used by the inbuilt terminal if g.moonflyTerminalColors then g.terminal_color_0 = grey0 g.terminal_color_1 = red g.terminal_color_2 = green g.terminal_color_3 = yellow g.terminal_color_4 = blue g.terminal_color_5 = violet g.terminal_color_6 = turquoise g.terminal_color_7 = white g.terminal_color_8 = grey246 g.terminal_color_9 = crimson g.terminal_color_10 = emerald g.terminal_color_11 = khaki g.terminal_color_12 = sky g.terminal_color_13 = purple g.terminal_color_14 = lime g.terminal_color_15 = grey254 end
-- Background and text highlight(0, "Normal", { bg = bg, fg = white })
-- Color of mode text, -- INSERT -- highlight(0, "ModeMsg", { fg = grey247 })
-- Comments if g.moonflyItalics then highlight(0, "Comment", { fg = grey246, italic = true }) else highlight(0, "Comment", { link = "MoonflyGrey246" }) end
-- Functions highlight(0, "Function", { link = "MoonflySky" })
-- Strings highlight(0, "String", { link = "MoonflyKhaki" })
-- Booleans highlight(0, "Boolean", { link = "MoonflyCranberry" })
-- Identifiers highlight(0, "Identifier", { link = "MoonflyTurquoise" })
-- Color of titles highlight(0, "Title", { fg = orange })
-- const, static highlight(0, "StorageClass", { link = "MoonflyCoral" })
-- void, intptr_t highlight(0, "Type", { fg = emerald })
-- Numbers highlight(0, "Constant", { link = "MoonflyOrange" })
-- Character constants highlight(0, "Character", { link = "MoonflyPurple" })
-- Exceptions highlight(0, "Exception", { link = "MoonflyCrimson" })
-- ifdef/endif highlight(0, "PreProc", { link = "MoonflyCranberry" })
-- case in switch statement highlight(0, "Label", { link = "MoonflyTurquoise" })
-- end-of-line '$', end-of-file '~' highlight(0, "NonText", { fg = grey241 })
-- sizeof highlight(0, "Operator", { link = "MoonflyCranberry" })
-- for, while highlight(0, "Repeat", { link = "MoonflyViolet" })
-- Search highlight(0, "Search", { bg = grey1, fg = grey254 }) highlight(0, "CurSearch", { bg = coral, fg = black }) highlight(0, "IncSearch", { bg = yellow, fg = black })
-- '\n' sequences highlight(0, "Special", { link = "MoonflyCranberry" })
-- if, else highlight(0, "Statement", { fg = violet })
-- struct, union, enum, typedef highlight(0, "Structure", { link = "MoonflyBlue" })
-- Status, split and tab lines highlight(0, "StatusLine", { bg = grey236, fg = white }) highlight(0, "StatusLineNC", { bg = grey236, fg = grey247 }) highlight(0, "Tabline", { bg = grey236, fg = grey247 }) highlight(0, "TablineSel", { bg = grey234, fg = blue }) highlight(0, "TablineSelSymbol", { bg = grey234, fg = emerald }) highlight(0, "TablineFill", { bg = grey236, fg = grey236 }) highlight(0, "StatusLineTerm", { bg = grey236, fg = white }) highlight(0, "StatusLineTermNC", { bg = grey236, fg = grey247 }) if g.moonflyWinSeparator == 0 then highlight(0, "VertSplit", { bg = black, fg = black }) elseif g.moonflyWinSeparator == 1 then highlight(0, "VertSplit", { bg = grey236, fg = grey236 }) else highlight(0, "VertSplit", { bg = none, fg = grey236 }) end
-- Visual selection highlight(0, "Visual", { link = "MoonflyVisual" }) highlight(0, "VisualNOS", { bg = grey0, fg = white }) highlight(0, "VisualInDiff", { bg = grey0, fg = white })
-- Errors, warnings and whitespace-eol highlight(0, "Error", { bg = bg, fg = red }) highlight(0, "ErrorMsg", { bg = bg, fg = red }) highlight(0, "WarningMsg", { bg = bg, fg = orange })
-- Auto-text-completion menu highlight(0, "Pmenu", { bg = grey235, fg = white }) highlight(0, "PmenuSel", { bg = spring, fg = grey254 }) highlight(0, "PmenuSbar", { bg = grey235 }) highlight(0, "PmenuThumb", { bg = grey244 }) highlight(0, "WildMenu", { bg = spring, fg = grey254 })
-- Spelling errors if g.moonflyUndercurls then highlight(0, "SpellBad", { bg = none, undercurl = true, sp = red }) highlight(0, "SpellCap", { bg = none, undercurl = true, sp = blue }) highlight(0, "SpellRare", { bg = none, undercurl = true, sp = yellow }) highlight(0, "SpellLocal", { bg = none, undercurl = true, sp = sky }) else highlight(0, "SpellBad", { bg = none, fg = red, underline = true, sp = red }) highlight(0, "SpellCap", { bg = none, fg = blue, underline = true, sp = blue }) highlight(0, "SpellRare", { bg = none, fg = yellow, underline = true, sp = yellow }) highlight(0, "SpellLocal", { bg = none, fg = sky, underline = true, sp = sky }) end
-- Misc highlight(0, "Question", { fg = lime }) highlight(0, "MoreMsg", { fg = red }) highlight(0, "LineNr", { bg = bg, fg = grey241 }) if g.moonflyCursorColor then highlight(0, "Cursor", { fg = bg, bg = blue }) else highlight(0, "Cursor", { fg = bg, bg = grey247 }) end highlight(0, "lCursor", { fg = bg, bg = grey247 }) highlight(0, "CursorLineNr", { bg = grey234, fg = blue }) highlight(0, "CursorColumn", { bg = grey234 }) highlight(0, "CursorLine", { bg = grey234 }) highlight(0, "Folded", { bg = grey234, fg = lime }) highlight(0, "FoldColumn", { bg = grey236, fg = lime }) highlight(0, "SignColumn", { bg = bg, fg = lime }) highlight(0, "Todo", { bg = grey235, fg = yellow }) highlight(0, "SpecialKey", { bg = bg, fg = sky }) if g.moonflyUnderlineMatchParen then highlight(0, "MatchParen", { bg = bg, underline = true }) else highlight(0, "MatchParen", { link = "MoonflyVisual" }) end highlight(0, "Ignore", { link = "MoonflySky" }) highlight(0, "Underlined", { fg = emerald }) highlight(0, "QuickFixLine", { bg = grey237 }) highlight(0, "Delimiter", { link = "MoonflyWhite" }) highlight(0, "qfFileName", { link = "MoonflyEmerald" })
-- Color column (after line 80) highlight(0, "ColorColumn", { bg = grey233 })
-- Conceal color highlight(0, "Conceal", { bg = none, fg = grey249 })
-- nvim -d highlight(0, "DiffAdd", { bg = emerald, fg = black }) highlight(0, "DiffChange", { bg = grey236 }) highlight(0, "DiffDelete", { bg = grey236, fg = grey241 }) highlight(0, "DiffText", { bg = blue, fg = black })
------------------------------------------------------------------------- -- Neovim standard styling -------------------------------------------------------------------------
highlight(0, "Whitespace", { fg = grey0 }) highlight(0, "TermCursor", { bg = grey247, fg = black }) if g.moonflyNormalFloat then highlight(0, "NormalFloat", { bg = bg, fg = grey249 }) else highlight(0, "NormalFloat", { bg = grey234, fg = white }) end highlight(0, "FloatBorder", { bg = bg, fg = grey236 }) highlight(0, "WinBar", { bg = grey235, fg = white }) highlight(0, "WinBarNC", { bg = grey235, fg = grey247 }) highlight(0, "WinSeparator", { link = "VertSplit" })
-- Neovim check-health highlight(0, "healthSuccess", { link = "DiffAdd" }) highlight(0, "healthHeadingChar", { link = "MoonflyBlue" }) highlight(0, "helpHeader", { link = "MoonflyTurquoise" })
-- Neovim Tree-sitter highlight(0, "@annotation", { link = "MoonflyViolet" }) highlight(0, "@attribute", { link = "MoonflySky" }) highlight(0, "@constant", { link = "MoonflyTurquoise" }) highlight(0, "@constant.builtin", { link = "MoonflyGreen" }) highlight(0, "@constant.macro", { link = "MoonflyViolet" }) highlight(0, "@constructor", { link = "MoonflyEmerald" }) highlight(0, "@danger", { link = "Todo" }) highlight(0, "@error", { link = "MoonflyRed" }) highlight(0, "@exception", { link = "MoonflyViolet" }) highlight(0, "@function.builtin", { link = "MoonflySky" }) highlight(0, "@function.call", { link = "MoonflySky" }) highlight(0, "@function.macro", { link = "MoonflySky" }) highlight(0, "@include", { link = "MoonflyCranberry" }) highlight(0, "@keyword.operator", { link = "MoonflyViolet" }) highlight(0, "@namespace", { link = "MoonflyTurquoise" }) highlight(0, "@none", {}) highlight(0, "@parameter", { link = "MoonflyOrchid" }) highlight(0, "@property", { link = "MoonflyTurquoise" }) highlight(0, "@punctuation.special", { link = "MoonflyCranberry" }) highlight(0, "@string.regex", { link = "MoonflyTurquoise" }) highlight(0, "@symbol", { link = "MoonflyPurple" }) highlight(0, "@tag", { link = "MoonflyBlue" }) highlight(0, "@tag.attribute", { link = "MoonflyTurquoise" }) highlight(0, "@tag.delimiter", { link = "MoonflyLime" }) highlight(0, "@text.danger", { link = "MoonflyRed" }) highlight(0, "@text.diff.add", { link = "DiffAdd" }) highlight(0, "@text.diff.delete", { link = "DiffDelete" }) highlight(0, "@text.emphasis", { fg = orchid, italic = true }) highlight(0, "@text.environment", { link = "MoonflyCranberry" }) highlight(0, "@text.environment.name", { link = "MoonflyEmerald" }) highlight(0, "@text.literal", { link = "String" }) highlight(0, "@text.math", { link = "MoonflyCranberry" }) highlight(0, "@text.note", { link = "MoonflyGrey246" }) highlight(0, "@text.reference", { link = "MoonflyGreen" }) highlight(0, "@text.strike", { strikethrough = true }) highlight(0, "@text.strong", { link = "MoonflyOrchid" }) highlight(0, "@text.title", { link = "MoonflyBlue" }) highlight(0, "@text.todo", { link = "Todo" }) highlight(0, "@text.underline", { underline = true }) highlight(0, "@text.uri", { link = "MoonflyPurple" }) highlight(0, "@text.warning", { link = "MoonflyYellow" }) highlight(0, "@type.builtin", { link = "MoonflyEmerald" }) highlight(0, "@type.qualifier", { link = "MoonflyViolet" }) highlight(0, "@variable", { link = "MoonflyWhite" }) highlight(0, "@variable.builtin", { link = "MoonflyLime" }) -- Language specific Tree-sitter overrides. highlight(0, "@field.yaml", { link = "MoonflyBlue" }) highlight(0, "@keyword.gitcommit", { link = "MoonflySky" }) highlight(0, "@parameter.bash", { link = "MoonflyTurquoise" }) highlight(0, "@punctuation.delimiter.astro", { link = "MoonflyCranberry" }) highlight(0, "@punctuation.delimiter.css", { link = "MoonflyCranberry" }) highlight(0, "@punctuation.delimiter.scss", { link = "MoonflyCranberry" }) highlight(0, "@punctuation.delimiter.yaml", { link = "MoonflyCranberry" }) highlight(0, "@storageclass.rust", { link = "MoonflyViolet" }) highlight(0, "@text.reference.gitcommit", { link = "MoonflyBlue" }) highlight(0, "@text.title.astro", { link = "MoonflyViolet" }) highlight(0, "@text.title.gitcommit", { link = "MoonflyViolet" }) highlight(0, "@text.title.help", { link = "MoonflySky" }) highlight(0, "@text.title.html", { link = "MoonflyViolet" }) highlight(0, "@text.title.svelte", { link = "MoonflyViolet" }) highlight(0, "@text.title.vue", { link = "MoonflyViolet" }) highlight(0, "@text.uri.gitcommit", { link = "MoonflyEmerald" }) if g.moonflyItalics then highlight(0, "@text.uri.astro", { fg = violet, italic = true }) highlight(0, "@text.uri.html", { fg = violet, italic = true }) highlight(0, "@text.uri.svelte", { fg = violet, italic = true }) highlight(0, "@text.uri.vue", { fg = violet, italic = true }) else highlight(0, "@text.uri.astro", { link = "MoonflyViolet" }) highlight(0, "@text.uri.html", { link = "MoonflyViolet" }) highlight(0, "@text.uri.svelte", { link = "MoonflyViolet" }) highlight(0, "@text.uri.vue", { link = "MoonflyViolet" }) end highlight(0, "@variable.scss", { link = "MoonflyTurquoise" }) highlight(0, "@variable.vim", { link = "MoonflyTurquoise" }) highlight(0, "@variable.builtin.vim", { link = "MoonflyEmerald" })
-- Neovim LSP semantic highlights. highlight(0, "@lsp.mod.deprecated", { link = "@constant" }) highlight(0, "@lsp.mod.readonly", { link = "@constant" }) highlight(0, "@lsp.mod.typeHint", { link = "@type" }) highlight(0, "@lsp.type.boolean", { link = "@boolean" }) highlight(0, "@lsp.type.builtinConstant", { link = "@constant.builtin" }) highlight(0, "@lsp.type.builtinType", { link = "@type.builtin" }) highlight(0, "@lsp.type.class", { link = "@type" }) highlight(0, "@lsp.type.enum", { link = "@type" }) highlight(0, "@lsp.type.enumMember", { link = "@property" }) highlight(0, "@lsp.type.escapeSequence", { link = "@string.escape" }) highlight(0, "@lsp.type.formatSpecifier", { link = "@punctuation.special" }) highlight(0, "@lsp.type.interface", { link = "@type" }) highlight(0, "@lsp.type.keyword", { link = "@keyword" }) highlight(0, "@lsp.type.magicFunction", { link = "@function.builtin" }) highlight(0, "@lsp.type.namespace", { link = "@namespace" }) highlight(0, "@lsp.type.number", { link = "@number" }) highlight(0, "@lsp.type.operator", { link = "@operator" }) highlight(0, "@lsp.type.parameter", { link = "@parameter" }) highlight(0, "@lsp.type.property", { link = "@property" }) highlight(0, "@lsp.type.selfKeyword", { link = "@variable.builtin" }) highlight(0, "@lsp.type.selfParameter", { link = "@variable.builtin" }) highlight(0, "@lsp.type.struct", { link = "@type" }) highlight(0, "@lsp.type.typeAlias", { link = "@type.definition" }) highlight(0, "@lsp.type.unresolvedReference", { link = "@error" }) highlight(0, "@lsp.type.variable", { link = "@variable" }) highlight(0, "@lsp.typemod.class.defaultLibrary", { link = "@type.builtin" }) highlight(0, "@lsp.typemod.enum.defaultLibrary", { link = "@type" }) highlight(0, "@lsp.typemod.enumMember.defaultLibrary", { link = "@constant.builtin" }) highlight(0, "@lsp.typemod.function.defaultLibrary", { link = "@function.builtin" }) highlight(0, "@lsp.typemod.keyword.async", { link = "@keyword" }) highlight(0, "@lsp.typemod.method.defaultLibrary", { link = "@function.builtin" }) highlight(0, "@lsp.typemod.operator.injected", { link = "@operator" }) highlight(0, "@lsp.typemod.string.injected", { link = "@string" }) highlight(0, "@lsp.typemod.variable.defaultLibrary", { link = "@variable.builtin" }) highlight(0, "@lsp.typemod.variable.global", { link = "@constant" }) highlight(0, "@lsp.typemod.variable.injected", { link = "@variable" }) highlight(0, "@lsp.typemod.variable.readonly", { link = "@constant" }) highlight(0, "@lsp.typemod.variable.static", { link = "@constant" }) -- Language specific LSP semantic overrides. highlight(0, "@lsp.type.macro.rust", { link = "@function" }) highlight(0, "@lsp.type.parameter.dockerfile", { link = "@property" }) highlight(0, "@lsp.type.variable.dockerfile", { link = "@function" })
-- Neovim Diagnostic highlight(0, "DiagnosticError", { link = "MoonflyRed" }) highlight(0, "DiagnosticWarn", { link = "MoonflyYellow" }) highlight(0, "DiagnosticInfo", { link = "MoonflySky" }) highlight(0, "DiagnosticHint", { link = "MoonflyWhite" }) if g.moonflyUndercurls then highlight(0, "DiagnosticUnderlineError", { link = "MoonflyDiagnosticUndercurlError" }) highlight(0, "DiagnosticUnderlineWarn", { link = "MoonflyDiagnosticUndercurlWarn" }) highlight(0, "DiagnosticUnderlineInfo", { link = "MoonflyDiagnosticUndercurlInfo" }) highlight(0, "DiagnosticUnderlineHint", { link = "MoonflyDiagnosticUndercurlHint" }) else highlight(0, "DiagnosticUnderlineError", { link = "MoonflyDiagnosticUnderlineError" }) highlight(0, "DiagnosticUnderlineWarn", { link = "MoonflyDiagnosticUnderlineWarn" }) highlight(0, "DiagnosticUnderlineInfo", { link = "MoonflyDiagnosticUnderlineInfo" }) highlight(0, "DiagnosticUnderlineHint", { link = "MoonflyDiagnosticUnderlineHint" }) end if g.moonflyVirtualTextColor then highlight(0, "DiagnosticVirtualTextError", { link = "MoonflyDiagnosticVirtualTextError" }) highlight(0, "DiagnosticVirtualTextWarn", { link = "MoonflyDiagnosticVirtualTextWarn" }) highlight(0, "DiagnosticVirtualTextInfo", { link = "MoonflyDiagnosticVirtualTextInfo" }) highlight(0, "DiagnosticVirtualTextHint", { link = "MoonflyDiagnosticVirtualTextHint" }) else highlight(0, "DiagnosticVirtualTextError", { link = "MoonflyGrey241" }) highlight(0, "DiagnosticVirtualTextWarn", { link = "MoonflyGrey241" }) highlight(0, "DiagnosticVirtualTextInfo", { link = "MoonflyGrey241" }) highlight(0, "DiagnosticVirtualTextHint", { link = "MoonflyGrey241" }) end highlight(0, "DiagnosticSignError", { link = "MoonflyRed" }) highlight(0, "DiagnosticSignWarn", { link = "MoonflyYellow" }) highlight(0, "DiagnosticSignInfo", { link = "MoonflySky" }) highlight(0, "DiagnosticSignHint", { link = "MoonflyWhite" }) highlight(0, "DiagnosticFloatingError", { link = "MoonflyRed" }) highlight(0, "DiagnosticFloatingWarn", { link = "MoonflyYellow" }) highlight(0, "DiagnosticFloatingInfo", { link = "MoonflySky" }) highlight(0, "DiagnosticFloatingHint", { link = "MoonflyWhite" })
-- Neovim LSP highlight(0, "LspCodeLens", { link = "MoonflyGrey241" }) highlight(0, "LspCodeLensSeparator", { link = "MoonflyGrey241" }) highlight(0, "LspInfoBorder", { link = "FloatBorder" }) highlight(0, "LspInlayHint", { bg = grey234, fg = grey246 }) highlight(0, "LspReferenceText", { link = "MoonflyVisual" }) highlight(0, "LspReferenceRead", { link = "MoonflyVisual" }) highlight(0, "LspReferenceWrite", { link = "MoonflyVisual" }) highlight(0, "LspSignatureActiveParameter", { bg = grey236 })
------------------------------------------------------------------------- -- Legacy language styling -------------------------------------------------------------------------
-- Markdown, 'tpope/vim-markdown' plugin highlight(0, "markdownBold", { link = "MoonflyYellow" }) highlight(0, "markdownCode", { link = "MoonflyKhaki" }) highlight(0, "markdownCodeDelimiter", { link = "MoonflyKhaki" }) highlight(0, "markdownError", { link = "NormalNC" }) highlight(0, "markdownH1", { link = "MoonflyBlue" }) highlight(0, "markdownH2", { link = "MoonflyBlue" }) highlight(0, "markdownHeadingRule", { link = "MoonflyCranberry" }) highlight(0, "markdownItalic", { link = "MoonflyOrchid" }) highlight(0, "markdownUrl", { link = "MoonflyPurple" })
-- Markdown, 'plasticboy/vim-markdown' plugin highlight(0, "mkdDelimiter", { link = "MoonflyWhite" }) highlight(0, "mkdLineBreak", { link = "NormalNC" }) highlight(0, "mkdListItem", { link = "MoonflyBlue" }) highlight(0, "mkdURL", { link = "MoonflyPurple" })
-- Shell highlight(0, "shAlias", { link = "MoonflyTurquoise" }) highlight(0, "shCommandSub", { link = "MoonflyWhite" }) highlight(0, "shCtrlSeq", { link = "MoonflyKhaki" }) highlight(0, "shLoop", { link = "MoonflyViolet" }) highlight(0, "shRange", { link = "MoonflyWhite" }) highlight(0, "shSetList", { link = "MoonflyTurquoise" }) highlight(0, "shShellVariables", { link = "MoonflyTurquoise" }) highlight(0, "shVariable", { link = "MoonflyTurquoise" })
-- XML highlight(0, "xmlAttrib", { link = "MoonflyLime" }) highlight(0, "xmlEndTag", { link = "MoonflyBlue" }) highlight(0, "xmlTag", { link = "MoonflyLime" }) highlight(0, "xmlTagName", { link = "MoonflyBlue" })
------------------------------------------------------------------------- -- Legacy plugin styling -------------------------------------------------------------------------
-- Git commits highlight(0, "gitCommitBranch", { link = "MoonflySky" }) highlight(0, "gitCommitDiscardedFile", { link = "MoonflyCrimson" }) highlight(0, "gitCommitDiscardedType", { link = "MoonflySky" }) highlight(0, "gitCommitHeader", { link = "MoonflyPurple" }) highlight(0, "gitCommitSelectedFile", { link = "MoonflyEmerald" }) highlight(0, "gitCommitSelectedType", { link = "MoonflySky" }) highlight(0, "gitCommitUntrackedFile", { link = "MoonflyCranberry" }) highlight(0, "gitEmail", { link = "MoonflyBlue" })
-- Git commit diffs highlight(0, "diffAdded", { link = "MoonflyGreen" }) highlight(0, "diffChanged", { link = "MoonflyCrimson" }) highlight(0, "diffIndexLine", { link = "MoonflyCrimson" }) highlight(0, "diffLine", { link = "MoonflySky" }) highlight(0, "diffRemoved", { link = "MoonflyRed" }) highlight(0, "diffSubname", { link = "MoonflySky" })
-- Tagbar plugin highlight(0, "TagbarFoldIcon", { link = "MoonflyGrey247" }) highlight(0, "TagbarVisibilityPublic", { link = "MoonflyLime" }) highlight(0, "TagbarVisibilityProtected", { link = "MoonflyLime" }) highlight(0, "TagbarVisibilityPrivate", { link = "MoonflyLime" }) highlight(0, "TagbarKind", { link = "MoonflyEmerald" })
-- fern.vim plugin highlight(0, "FernBranchSymbol", { link = "MoonflyGrey246" }) highlight(0, "FernLeafSymbol", { link = "MoonflyBlue" }) highlight(0, "FernLeaderSymbol", { link = "MoonflyGrey237" }) highlight(0, "FernBranchText", { link = "MoonflyBlue" }) highlight(0, "FernMarkedLine", { link = "MoonflyVisual" }) highlight(0, "FernMarkedText", { link = "MoonflyCrimson" }) highlight(0, "FernRootSymbol", { link = "MoonflyPurple" }) highlight(0, "FernRootText", { link = "MoonflyPurple" })
-- fern-git-status.vim plugin highlight(0, "FernGitStatusBracket", { link = "MoonflyGrey246" }) highlight(0, "FernGitStatusIndex", { link = "MoonflyEmerald" }) highlight(0, "FernGitStatusWorktree", { link = "MoonflyCrimson" })
-- Glyph palette highlight(0, "GlyphPalette1", { link = "MoonflyCranberry" }) highlight(0, "GlyphPalette2", { link = "MoonflyEmerald" }) highlight(0, "GlyphPalette3", { link = "MoonflyYellow" }) highlight(0, "GlyphPalette4", { link = "MoonflyBlue" }) highlight(0, "GlyphPalette6", { link = "MoonflyTurquoise" }) highlight(0, "GlyphPalette7", { link = "MoonflyWhite" }) highlight(0, "GlyphPalette9", { link = "MoonflyCrimson" })
-- Misc items highlight(0, "bufExplorerHelp", { link = "MoonflyGrey247" }) highlight(0, "bufExplorerSortBy", { link = "MoonflyGrey247" }) highlight(0, "CleverFDefaultLabel", { link = "MoonflyCrimson" }) highlight(0, "CtrlPMatch", { link = "MoonflyCoral" }) highlight(0, "Directory", { link = "MoonflyBlue" }) highlight(0, "erubyDelimiter", { link = "MoonflyCrimson" }) highlight(0, "helpHeadline", { link = "MoonflyBlue" }) highlight(0, "helpSectionDelim", { link = "MoonflyBlue" }) highlight(0, "jsonKeyword", { link = "MoonflySky" }) highlight(0, "jsonQuote", { link = "MoonflyWhite" }) highlight(0, "netrwClassify", { link = "MoonflyCranberry" }) highlight(0, "netrwDir", { link = "MoonflySky" }) highlight(0, "netrwExe", { link = "MoonflyKhaki" }) highlight(0, "tagName", { link = "MoonflyTurquoise" }) highlight(0, "Cheat40Header", { link = "MoonflyBlue" }) highlight(0, "yamlBlockMappingKey", { link = "MoonflySky" }) highlight(0, "yamlFlowMappingKey", { link = "MoonflySky" }) if g.moonflyUnderlineMatchParen then highlight(0, "MatchWord", { underline = true, sp = coral }) else highlight(0, "MatchWord", { link = "MoonflyCoral" }) end highlight(0, "snipLeadingSpaces", { bg = bg, fg = white }) highlight(0, "MatchWordCur", { bg = bg }) highlight(0, "fishVariable", { link = "MoonflyTurquoise" }) highlight(0, "fishInnerVariable", { link = "MoonflyTurquoise" })
-- FZF plugin highlight(0, "fzf1", { fg = crimson, bg = grey236 }) highlight(0, "fzf2", { fg = blue, bg = grey236 }) highlight(0, "fzf3", { fg = emerald, bg = grey236 }) highlight(0, "fzfNormal", { fg = grey249 }) highlight(0, "fzfFgPlus", { fg = grey254 }) highlight(0, "fzfBorder", { fg = grey236 }) highlight(0, "fzfSubstring", { fg = coral }) g.fzf_colors = { ["fg"] = { "fg", "fzfNormal" }, ["bg"] = { "bg", "Normal" }, ["hl"] = { "fg", "fzfSubstring" }, ["fg+"] = { "fg", "fzfFgPlus" }, ["bg+"] = { "bg", "Pmenu" }, ["hl+"] = { "fg", "fzfSubstring" }, ["info"] = { "fg", "String" }, ["border"] = { "fg", "fzfBorder" }, ["prompt"] = { "fg", "fzf2" }, ["pointer"] = { "fg", "Exception" }, ["marker"] = { "fg", "StorageClass" }, ["spinner"] = { "fg", "Type" }, ["header"] = { "fg", "CursorLineNr" }, }
-- mistfly-statusline plugin highlight(0, "MistflyNormal", { link = "MoonflyBlueMode" }) highlight(0, "MistflyInsert", { link = "MoonflyEmeraldMode" }) highlight(0, "MistflyVisual", { link = "MoonflyPurpleMode" }) highlight(0, "MistflyCommand", { link = "MoonflyYellowMode" }) highlight(0, "MistflyReplace", { link = "MoonflyCrimsonMode" })
-- Coc plugin (see issue: https://github.com/bluz71/vim-nightfly-colors/issues/31) highlight(0, "CocUnusedHighlight", { link = "MoonflyGrey249" })
------------------------------------------------------------------------- -- Neovim plugin styling -------------------------------------------------------------------------
-- NvimTree plugin highlight(0, "NvimTreeFolderIcon", { link = "MoonflyGrey246" }) highlight(0, "NvimTreeFolderName", { link = "MoonflyBlue" }) highlight(0, "NvimTreeIndentMarker", { link = "MoonflyGrey237" }) highlight(0, "NvimTreeOpenedFolderName", { link = "MoonflyBlue" }) highlight(0, "NvimTreeRootFolder", { link = "MoonflyPurple" }) highlight(0, "NvimTreeSpecialFile", { link = "MoonflyYellow" }) highlight(0, "NvimTreeWindowPicker", { link = "DiffChange" }) highlight(0, "NvimTreeCursorLine", { bg = grey235 }) highlight(0, "NvimTreeExecFile", { fg = green }) highlight(0, "NvimTreeImageFile", { fg = violet }) if g.moonflyTransparent ~= true and g.moonflyNormalFloat ~= true then highlight(0, "NormalFloat", { bg = bg, fg = grey249 }) end highlight(0, "NvimTreeOpenedFile", { fg = yellow }) highlight(0, "NvimTreeSymlink", { fg = turquoise })
-- Neo-tree plugin highlight(0, "NeoTreeCursorLine", { bg = grey235 }) highlight(0, "NeoTreeDimText", { link = "MoonflyGrey239" }) highlight(0, "NeoTreeDirectoryIcon", { link = "MoonflyGrey246" }) highlight(0, "NeoTreeDotfile", { link = "MoonflyGrey246" }) highlight(0, "NeoTreeFloatTitle", { bg = grey236, fg = white }) highlight(0, "NeoTreeFilterTerm", { link = "MoonflyBlue" }) highlight(0, "NeoTreeGitAdded", { link = "MoonflyGreen" }) highlight(0, "NeoTreeGitConflict", { link = "MoonflyCrimson" }) highlight(0, "NeoTreeGitModified", { link = "MoonflyTurquoise" }) highlight(0, "NeoTreeGitUntracked", { link = "MoonflyOrchid" }) highlight(0, "NeoTreeIndentMarker", { link = "MoonflyGrey237" }) highlight(0, "NeoTreeMessage", { link = "MoonflyGrey247" }) highlight(0, "NeoTreeModified", { link = "MoonflyYellow" }) highlight(0, "NeoTreeRootName", { link = "MoonflyPurple" }) highlight(0, "NeoTreeTitleBar", { bg = grey236, fg = white })
-- Telescope plugin highlight(0, "TelescopeBorder", { link = "FloatBorder" }) highlight(0, "TelescopeMatching", { link = "MoonflyCoral" }) highlight(0, "TelescopeMultiIcon", { link = "MoonflyCrimson" }) highlight(0, "TelescopeMultiSelection", { link = "MoonflyEmerald" }) highlight(0, "TelescopeNormal", { link = "MoonflyGrey249" }) highlight(0, "TelescopePreviewDate", { link = "MoonflyGrey246" }) highlight(0, "TelescopePreviewGroup", { link = "MoonflyGrey246" }) highlight(0, "TelescopePreviewLink", { link = "MoonflyTurquoise" }) highlight(0, "TelescopePreviewMatch", { link = "MoonflyVisual" }) highlight(0, "TelescopePreviewRead", { link = "MoonflyOrange" }) highlight(0, "TelescopePreviewSize", { link = "MoonflyEmerald" }) highlight(0, "TelescopePreviewUser", { link = "MoonflyGrey246" }) highlight(0, "TelescopePromptPrefix", { link = "MoonflyBlue" }) highlight(0, "TelescopeResultsDiffAdd", { link = "MoonflyGreen" }) highlight(0, "TelescopeResultsDiffChange", { link = "MoonflyRed" }) highlight(0, "TelescopeResultsDiffDelete", { link = "MoonflyCrimsonLine" }) highlight(0, "TelescopeResultsSpecialComment", { link = "MoonflyGrey241" }) highlight(0, "TelescopeSelectionCaret", { link = "MoonflyCrimson" }) highlight(0, "TelescopeTitle", { link = "MoonflyGrey241" }) highlight(0, "TelescopeSelection", { bg = grey0, fg = grey254 })
-- gitsigns.nvim plugin -- sign column highlight(0, "GitSignsAdd", { link = "MoonflyEmerald" }) highlight(0, "GitSignsChange", { link = "MoonflySky" }) highlight(0, "GitSignsChangeDelete", { link = "MoonflyCoral" }) highlight(0, "GitSignsDelete", { link = "MoonflyRed" }) highlight(0, "GitSignsUntracked", { link = "MoonflyGrey241" }) -- line highlights highlight(0, "GitSignsAddLn", { bg = grey235 }) highlight(0, "GitSignsChangeLn", { bg = grey234 }) -- word diff highlight(0, "GitSignsAddLnInline", { bg = grey1 }) highlight(0, "GitSignsChangeLnInline", { bg = grey1 }) -- word diff in preview highlight(0, "GitSignsAddInline", { bg = green, fg = black }) highlight(0, "GitSignsChangeInline", { bg = yellow, fg = black }) highlight(0, "GitSignsDeleteInline", { bg = red, fg = black }) -- misc highlight(0, "GitSignsAddPreview", { link = "MoonflyEmeraldLine" }) highlight(0, "GitSignsDeletePreview", { link = "MoonflyCrimsonLine" }) highlight(0, "GitSignsDeleteVirtLn", { link = "MoonflyCrimsonLine" })
-- Hop plugin highlight(0, "HopCursor", { link = "IncSearch" }) highlight(0, "HopNextKey", { link = "MoonflyYellow" }) highlight(0, "HopNextKey1", { link = "MoonflyBlue" }) highlight(0, "HopNextKey2", { link = "MoonflyCrimson" }) highlight(0, "HopUnmatched", { link = "MoonflyGrey247" })
-- Barbar plugin highlight(0, "BufferCurrent", { link = "MoonflyWhiteLineActive" }) highlight(0, "BufferCurrentIndex", { link = "MoonflyWhiteLineActive" }) highlight(0, "BufferCurrentMod", { link = "MoonflyYellowLineActive" }) highlight(0, "BufferCurrentSign", { link = "MoonflyBlueLineActive" }) highlight(0, "BufferCurrentERROR", { link = "MoonflyRedLineActive" }) highlight(0, "BufferCurrentWARN", { link = "MoonflyYellowLineActive" }) highlight(0, "BufferCurrentINFO", { link = "MoonflyBlueLineActive" }) highlight(0, "BufferCurrentHINT", { link = "MoonflyWhiteLineActive" }) highlight(0, "BufferTabpages", { bg = grey236, fg = blue }) highlight(0, "BufferVisible", { link = "MoonflyGrey246Line" }) highlight(0, "BufferVisibleIndex", { link = "MoonflyGrey246Line" }) highlight(0, "BufferVisibleMod", { link = "MoonflyYellowLine" }) highlight(0, "BufferVisibleSign", { link = "MoonflyGrey246Line" }) highlight(0, "BufferVisibleERROR", { bg = grey234, fg = red }) highlight(0, "BufferVisibleWARN", { bg = grey234, fg = yellow }) highlight(0, "BufferVisibleINFO", { bg = grey234, fg = blue }) highlight(0, "BufferVisibleHINT", { bg = grey234, fg = white }) highlight(0, "BufferInactive", { bg = grey236, fg = grey246 }) highlight(0, "BufferInactiveMod", { bg = grey236, fg = yellow }) highlight(0, "BufferInactiveSign", { bg = grey236, fg = grey247 }) highlight(0, "BufferInactiveERROR", { bg = grey236, fg = red }) highlight(0, "BufferInactiveWARN", { bg = grey236, fg = yellow }) highlight(0, "BufferInactiveINFO", { bg = grey236, fg = blue }) highlight(0, "BufferInactiveHINT", { bg = grey236, fg = white }) highlight(0, "BufferAlternate", { link = "BufferCurrent" }) highlight(0, "BufferAlternateIndex", { link = "BufferCurrentIndex" }) highlight(0, "BufferAlternateMod", { link = "BufferCurrentMod" }) highlight(0, "BufferAlternateSign", { link = "BufferCurrentSign" }) highlight(0, "BufferAlternateERROR", { link = "BufferCurrentERROR" }) highlight(0, "BufferAlternateWARN", { link = "BufferCurrentWARN" }) highlight(0, "BufferAlternateINFO", { link = "BufferCurrentINFO" }) highlight(0, "BufferAlternateHINT", { link = "BufferCurrentHINT" })
-- Bufferline plugin highlight(0, "BufferLineTabSelected", { fg = blue }) highlight(0, "BufferLineIndicatorSelected", { fg = blue })
-- nvim-cmp plugin highlight(0, "CmpItemAbbrMatch", { link = "MoonflyYellow" }) highlight(0, "CmpItemAbbrMatchFuzzy", { link = "MoonflyCoral" }) highlight(0, "CmpItemKind", { link = "MoonflyWhite" }) highlight(0, "CmpItemKindClass", { link = "MoonflyEmerald" }) highlight(0, "CmpItemKindColor", { link = "MoonflyTurquoise" }) highlight(0, "CmpItemKindConstant", { link = "MoonflyPurple" }) highlight(0, "CmpItemKindConstructor", { link = "MoonflySky" }) highlight(0, "CmpItemKindEnum", { link = "MoonflyViolet" }) highlight(0, "CmpItemKindEnumMember", { link = "MoonflyTurquoise" }) highlight(0, "CmpItemKindEvent", { link = "MoonflyViolet" }) highlight(0, "CmpItemKindField", { link = "MoonflyTurquoise" }) highlight(0, "CmpItemKindFile", { link = "MoonflyBlue" }) highlight(0, "CmpItemKindFolder", { link = "MoonflyBlue" }) highlight(0, "CmpItemKindFunction", { link = "MoonflySky" }) highlight(0, "CmpItemKindInterface", { link = "MoonflyEmerald" }) highlight(0, "CmpItemKindKeyword", { link = "MoonflyViolet" }) highlight(0, "CmpItemKindMethod", { link = "MoonflySky" }) highlight(0, "CmpItemKindModule", { link = "MoonflyEmerald" }) highlight(0, "CmpItemKindOperator", { link = "MoonflyViolet" }) highlight(0, "CmpItemKindProperty", { link = "MoonflyTurquoise" }) highlight(0, "CmpItemKindReference", { link = "MoonflyTurquoise" }) highlight(0, "CmpItemKindSnippet", { link = "MoonflyGreen" }) highlight(0, "CmpItemKindStruct", { link = "MoonflyEmerald" }) highlight(0, "CmpItemKindText", { link = "MoonflyGrey249" }) highlight(0, "CmpItemKindTypeParameter", { link = "MoonflyEmerald" }) highlight(0, "CmpItemKindUnit", { link = "MoonflyTurquoise" }) highlight(0, "CmpItemKindValue", { link = "MoonflyTurquoise" }) highlight(0, "CmpItemKindVariable", { link = "MoonflyTurquoise" }) highlight(0, "CmpItemMenu", { link = "MoonflyGrey247" })
-- Indent Blankline plugin highlight(0, "IndentBlanklineChar", { fg = grey235, nocombine = true }) highlight(0, "IndentBlanklineSpaceChar", { fg = grey235, nocombine = true }) highlight(0, "IndentBlanklineSpaceCharBlankline", { fg = grey235, nocombine = true }) highlight(0, "IndentBlanklineIndent6", { link = "MoonflyOrchid" }) highlight(0, "IndentBlanklineIndent5", { link = "MoonflyViolet" }) highlight(0, "IndentBlanklineIndent4", { link = "MoonflyBlue" }) highlight(0, "IndentBlanklineIndent3", { link = "MoonflyTurquoise" }) highlight(0, "IndentBlanklineIndent2", { link = "MoonflyYellow" }) highlight(0, "IndentBlanklineIndent1", { link = "MoonflyCrimson" })
-- Mini.nvim plugin highlight(0, "MiniCompletionActiveParameter", { link = "MoonflyVisual" }) highlight(0, "MiniCursorword", { link = "MoonflyUnderline" }) highlight(0, "MiniCursorwordCurrent", { link = "MoonflyUnderline" }) highlight(0, "MiniIndentscopePrefix", { link = "MoonflyNoCombine" }) highlight(0, "MiniIndentscopeSymbol", { link = "MoonflyWhite" }) highlight(0, "MiniJump", { link = "SpellRare" }) highlight(0, "MiniStarterCurrent", { link = "MoonflyNoCombine" }) highlight(0, "MiniStarterFooter", { link = "Title" }) highlight(0, "MiniStarterHeader", { link = "MoonflyViolet" }) highlight(0, "MiniStarterInactive", { link = "Comment" }) highlight(0, "MiniStarterItem", { link = "Normal" }) highlight(0, "MiniStarterItemBullet", { link = "Delimiter" }) highlight(0, "MiniStarterItemPrefix", { link = "MoonflyYellow" }) highlight(0, "MiniStarterQuery", { link = "MoonflySky" }) highlight(0, "MiniStarterSection", { link = "MoonflyCrimson" }) highlight(0, "MiniStatuslineModeCommand", { link = "MoonflyYellowMode" }) highlight(0, "MiniStatuslineModeInsert", { link = "MoonflyEmeraldMode" }) highlight(0, "MiniStatuslineModeNormal", { link = "MoonflyBlueMode" }) highlight(0, "MiniStatuslineModeOther", { link = "MoonflyTurquoiseMode" }) highlight(0, "MiniStatuslineModeReplace", { link = "MoonflyCrimsonMode" }) highlight(0, "MiniStatuslineModeVisual", { link = "MoonflyPurpleMode" }) highlight(0, "MiniSurround", { link = "IncSearch" }) highlight(0, "MiniTablineCurrent", { link = "MoonflyWhiteLineActive" }) highlight(0, "MiniTablineFill", { link = "TabLineFill" }) highlight(0, "MiniTablineModifiedCurrent", { link = "MoonflyYellowLineActive" }) highlight(0, "MiniTablineModifiedVisible", { link = "MoonflyYellowLine" }) highlight(0, "MiniTablineTabpagesection", { link = "MoonflyBlueMode" }) highlight(0, "MiniTablineVisible", { link = "MoonflyGrey246Line" }) highlight(0, "MiniTestEmphasis", { link = "MoonflyUnderline" }) highlight(0, "MiniTestFail", { link = "MoonflyRed" }) highlight(0, "MiniTestPass", { link = "MoonflyGreen" }) highlight(0, "MiniTrailspace", { link = "MoonflyCrimsonMode" }) highlight(0, "MiniJump2dSpot", { fg = yellow, underline = true, nocombine = true }) highlight(0, "MiniStatuslineDevinfo", { bg = grey241, fg = white }) highlight(0, "MiniStatuslineFileinfo", { bg = grey241, fg = white }) highlight(0, "MiniStatuslineFilename", { bg = grey236, fg = grey247 }) highlight(0, "MiniStatuslineInactive", { bg = grey236, fg = grey247 }) highlight(0, "MiniTablineHidden", { bg = grey236, fg = grey246 }) highlight(0, "MiniTablineModifiedHidden", { bg = grey236, fg = yellow })
-- Dashboard plugin highlight(0, "DashboardCenter", { link = "MoonflyViolet" }) highlight(0, "DashboardFooter", { link = "MoonflyCoral" }) highlight(0, "DashboardHeader", { link = "MoonflyBlue" }) highlight(0, "DashboardShortCut", { link = "MoonflyTurquoise" })
-- nvim-notify plugin highlight(0, "NotifyERRORBorder", { link = "FloatBorder" }) highlight(0, "NotifyWARNBorder", { link = "FloatBorder" }) highlight(0, "NotifyINFOBorder", { link = "FloatBorder" }) highlight(0, "NotifyDEBUGBorder", { link = "FloatBorder" }) highlight(0, "NotifyTRACEBorder", { link = "FloatBorder" }) highlight(0, "NotifyERRORIcon", { link = "MoonflyRed" }) highlight(0, "NotifyWARNIcon", { link = "MoonflyYellow" }) highlight(0, "NotifyINFOIcon", { link = "MoonflyBlue" }) highlight(0, "NotifyDEBUGIcon", { link = "MoonflyGrey246" }) highlight(0, "NotifyTRACEIcon", { link = "MoonflyPurple" }) highlight(0, "NotifyERRORTitle", { link = "MoonflyRed" }) highlight(0, "NotifyWARNTitle", { link = "MoonflyYellow" }) highlight(0, "NotifyINFOTitle", { link = "MoonflyBlue" }) highlight(0, "NotifyDEBUGTitle", { link = "MoonflyGrey246" }) highlight(0, "NotifyTRACETitle", { link = "MoonflyPurple" })
-- lazy.nvim plugin highlight(0, "LazyCommit", { link = "MoonflyEmerald" }) highlight(0, "LazyCommitType", { link = "MoonflyViolet" }) highlight(0, "LazyH1", { link = "MoonflyBlueMode" }) highlight(0, "LazyProgressDone", { link = "MoonflyBlue" }) highlight(0, "LazyProgressTodo", { link = "MoonflyGrey0" }) highlight(0, "LazyReasonCmd", { link = "MoonflyGreen" }) highlight(0, "LazyReasonPlugin", { link = "MoonflyOrchid" }) highlight(0, "LazyReasonRuntime", { link = "MoonflyViolet" }) highlight(0, "LazySpecial", { link = "MoonflyBlue" }) highlight(0, "LazyButton", { bg = grey235, fg = white }) highlight(0, "LazyButtonActive", { bg = grey239, fg = grey254 }) if g.moonflyNormalFloat ~= true then highlight(0, "LazyNormal", { bg = grey233, fg = white }) end
-- mason.nvim plugin highlight(0, "MasonError", { link = "MoonflyRed" }) highlight(0, "MasonHeader", { link = "MoonflyBlueMode" }) highlight(0, "MasonHeaderSecondary", { link = "MoonflyBlueMode" }) highlight(0, "MasonHeading", { link = "MoonflyGrey254" }) highlight(0, "MasonHighlight", { link = "MoonflyBlue" }) highlight(0, "MasonHighlightBlock", { link = "MoonflyBlueMode" }) highlight(0, "MasonHighlightBlockBold", { link = "MoonflyBlueMode" }) highlight(0, "MasonHighlightBlockBoldSecondary", { link = "MoonflyEmeraldMode" }) highlight(0, "MasonHighlightBlockSecondary", { link = "MoonflyEmeraldMode" }) highlight(0, "MasonHighlightSecondary", { link = "MoonflyEmerald" }) highlight(0, "MasonLink", { link = "MoonflyPurple" }) highlight(0, "MasonMuted", { link = "MoonflyGrey241" }) highlight(0, "MasonMutedBlock", { bg = grey235, fg = white }) highlight(0, "MasonMutedBlockBold", { bg = grey235, fg = grey254 })
-- linefly plugin highlight(0, "LineflyNormal", { link = "MoonflyBlueMode" }) highlight(0, "LineflyInsert", { link = "MoonflyEmeraldMode" }) highlight(0, "LineflyVisual", { link = "MoonflyPurpleMode" }) highlight(0, "LineflyCommand", { link = "MoonflyYellowMode" }) highlight(0, "LineflyReplace", { link = "MoonflyCrimsonMode" })
-- lspsaga.nvim plugin highlight(0, "TitleString", { link = "MoonflyBlue" }) highlight(0, "TitleIcon", { link = "MoonflyBlue" }) highlight(0, "TitleSymbol", { link = "MoonflyBlue" }) highlight(0, "SagaBorder", { link = "FloatBorder" }) highlight(0, "SagaNormal", { link = "Normal" }) highlight(0, "SagaExpand", { link = "MoonflyCranberry" }) highlight(0, "SagaCollapse", { link = "MoonflyCranberry" }) highlight(0, "SagaBeacon", { link = "MoonflyPurpleMode" }) highlight(0, "ActionPreviewTitle", { link = "MoonflyBlue" }) highlight(0, "CodeActionText", { link = "MoonflyYellow" }) highlight(0, "CodeActionConceal", { link = "MoonflyGreen" }) highlight(0, "FinderSelection", { link = "MoonflyTurquoise" }) highlight(0, "FinderFName", { link = "MoonflyWhite" }) highlight(0, "FinderCode", { link = "MoonflyWhite" }) highlight(0, "FinderIcon", { link = "MoonflyTurquoise" }) highlight(0, "FinderType", { link = "MoonflyViolet" }) highlight(0, "FinderSpinnerTitle", { link = "MoonflyPurple" }) highlight(0, "FinderSpinner", { link = "MoonflyPurple" }) highlight(0, "RenameNormal", { link = "MoonflyOrange" }) highlight(0, "DiagnosticSource", { link = "MoonflyGrey241" }) highlight(0, "DiagnosticText", { link = "MoonflyRed" }) highlight(0, "CallHierarchyIcon", { link = "MoonflyViolet" }) highlight(0, "CallHierarchyTitle", { link = "MoonflyCranberry" }) highlight(0, "SagaShadow", { link = "Normal" }) highlight(0, "OutlineIndent", { link = "MoonflyPurple" })
-- Noice plugin highlight(0, "NoiceCmdlinePopup", { link = "MoonflyGrey244" }) highlight(0, "NoiceCmdlinePopupBorder", { link = "MoonflyGrey238" }) highlight(0, "NoiceCmdlinePopupBorderSearch", { link = "MoonflyGrey238" }) highlight(0, "NoiceCmdlinePrompt", { link = "MoonflyBlue" }) highlight(0, "NoiceCompletionItemKindDefault", { link = "MoonflyTurquoise" }) highlight(0, "NoiceConfirmBorder", { link = "MoonflyBlue" }) highlight(0, "NoiceFormatTitle", { link = "MoonflyCranberry" })
-- nvim-navic plugin highlight(0, "NavicText", { bg = grey236, fg = grey249 }) highlight(0, "NavicSeparator", { bg = grey236, fg = white }) highlight(0, "NavicIconsOperator", { bg = grey236, fg = cranberry }) highlight(0, "NavicIconsBoolean", { link = "NavicIconsOperator" }) highlight(0, "NavicIconsClass", { bg = grey236, fg = emerald }) highlight(0, "NavicIconsConstant", { bg = grey236, fg = orange }) highlight(0, "NavicIconsConstructor", { bg = grey236, fg = sky }) highlight(0, "NavicIconsEnum", { bg = grey236, fg = violet }) highlight(0, "NavicIconsEnumMember", { bg = grey236, fg = turquoise }) highlight(0, "NavicIconsEvent", { link = "NavicIconsConstant" }) highlight(0, "NavicIconsField", { link = "NavicIconsEnumMember" }) highlight(0, "NavicIconsFile", { bg = grey236, fg = blue }) highlight(0, "NavicIconsFunction", { link = "NavicIconsConstructor" }) highlight(0, "NavicIconsInterface", { link = "NavicIconsEnum" }) highlight(0, "NavicIconsKey", { link = "NavicIconsEnumMember" }) highlight(0, "NavicIconsMethod", { link = "NavicIconsConstructor" }) highlight(0, "NavicIconsModule", { link = "NavicIconsEnumMember" }) highlight(0, "NavicIconsNamespace", { link = "NavicIconsEnumMember" }) highlight(0, "NavicIconsNull", { bg = grey236, fg = green }) highlight(0, "NavicIconsNumber", { link = "NavicIconsConstant" }) highlight(0, "NavicIconsObject", { link = "NavicIconsEnumMember" }) highlight(0, "NavicIconsPackage", { link = "NavicIconsEnumMember" }) highlight(0, "NavicIconsProperty", { link = "NavicIconsEnumMember" }) highlight(0, "NavicIconsString", { bg = grey236, fg = khaki }) highlight(0, "NavicIconsStruct", { link = "NavicIconsClass" }) highlight(0, "NavicIconsTypeParameter", { link = "NavicIconsEnumMember" }) highlight(0, "NavicIconsVariable", { link = "NavicIconsEnumMember" })
-- Rainbow Delimiters plugin highlight(0, "RainbowDelimiterRed", { link = "MoonflyRed" }) highlight(0, "RainbowDelimiterYellow", { link = "MoonflyYellow" }) highlight(0, "RainbowDelimiterBlue", { link = "MoonflyBlue" }) highlight(0, "RainbowDelimiterOrange", { link = "MoonflyOrange" }) highlight(0, "RainbowDelimiterGreen", { link = "MoonflyGreen" }) highlight(0, "RainbowDelimiterViolet", { link = "MoonflyViolet" }) highlight(0, "RainbowDelimiterCyan", { link = "MoonflyTurquoise" })
-- Neogit plugin highlight(0, "NeogitBranch", { link = "MoonflySky" }) highlight(0, "NeogitDiffAddHighlight", { link = "MoonflyEmeraldLine" }) highlight(0, "NeogitDiffContextHighlight", { bg = grey234 }) highlight(0, "NeogitDiffDeleteHighlight", { link = "MoonflyCrimsonLine" }) highlight(0, "NeogitHunkHeader", { link = "Pmenu" }) highlight(0, "NeogitHunkHeaderHighlight", { link = "MoonflyBlueLineActive" }) highlight(0, "NeogitRemote", { link = "MoonflyPurple" })
-- nvim-window-picker plugin highlight(0, "WindowPickerStatusLine", { link = "WinBar" }) highlight(0, "WindowPickerStatusLineNC", { link = "WinBar" }) highlight(0, "WindowPickerWinBar", { link = "WinBar" }) highlight(0, "WindowPickerWinBarNC", { link = "WinBar" })end
return M