neovim: starts migration of nugu theme to custom code
580d02a9d44a56b242154d98dda89f6ee53f9a84
Oliver Jan Krylow <oliver@bugabinga.net> ·
unsigned
- Parent 1: 684abbce6f71
bugabingas dorkfiles
580d02a9d44a56b242154d98dda89f6ee53f9a84
Oliver Jan Krylow <oliver@bugabinga.net> ·
unsigned
+646 / −48 text lines · 1 binary (striped old/new sizes in 64-byte units, not churn) · lines and sizes scale separately
+1 / −0 text lines
new file mode 100644+580 / −0 text lines
--- bugabingas color theme `nugu` for neovim-- Reset all highlights if another colorscheme was previously setif vim.g.colors_name ~= nil then vim.cmd [[ highlight clear ]] end-- follow convention for others to be able to query current colorschemevim.g.colors_name = 'nugu_fresh'local palette = { debug = { light = '#3dd45d', dark = '#3dd45d', }, error = { light = '#740523', dark = '#f27a9a', }, info = { light = '#4187a7', dark = '#e7f0f3', }, warning = { light = '#a7802d', dark = '#f1e8d6', }, content_normal = { light = '#494949', dark = '#cfcfcf', }, content_backdrop = { light = '#e3e3e3', dark = '#131313', }, content_accent = { light = '#800080', dark = '#800080', }, content_minor = { light = '#878787', dark = '#727272', }, content_focus = { light = '#646464', dark = '#a5bdb6', }, content_unfocus = { light = '#c9c9c9', dark = '#3f4543', }, content_important_global = { light = '#48256e', dark = '#8e58cc', }, content_important_local = { light = '#643398', dark = '#7a3bc3', }, ui_normal = { light = '#929292', dark = '#e2e2e2', }, ui_backdrop = { light = '#f9f9f9', dark = '#000000', }, ui_accent = { light = '#d43dd4', dark = '#7a067a', }, ui_minor = { light = '#d0d0d0', dark = '#424242', }, ui_focus = { light = '#646464', dark = '#788984', }, ui_unfocus = { light = '#c9c9c9', dark = '#121212', }, ui_important_global = { light = '#9170b5', dark = '#5f368d', }, ui_important_local = { light = '#ae95c8', dark = '#4c2b72', },}local function choose( variants ) ---@diagnostic disable-next-line: undefined-field if vim.opt.background:get() == 'dark' then return variants.dark else return variants.light endendlocal debug = choose( palette.debug )local error = choose( palette.error )local info = choose( palette.info )local warning = choose( palette.warning )local content_normal = choose( palette.content_normal )local content_backdrop = choose( palette.content_backdrop )local content_accent = choose( palette.content_accent )local content_minor = choose( palette.content_minor )local content_focus = choose( palette.content_focus )local content_unfocus = choose( palette.content_unfocus )local content_important_global = choose( palette.content_important_global )local content_important_local = choose( palette.content_important_local )local ui_normal = choose( palette.ui_normal )local ui_backdrop = choose( palette.ui_backdrop )local ui_accent = choose( palette.ui_accent )local ui_minor = choose( palette.ui_minor )local ui_focus = choose( palette.ui_focus )local ui_unfocus = choose( palette.ui_unfocus )local ui_important_global = choose( palette.ui_important_global )local ui_important_local = choose( palette.ui_important_local )vim.g.terminal_color_0 = ui_backdrop -- blackvim.g.terminal_color_1 = content_accent -- maroonvim.g.terminal_color_2 = info -- greenvim.g.terminal_color_3 = ui_focus -- olivevim.g.terminal_color_4 = content_important_local -- navyvim.g.terminal_color_5 = content_important_global -- purplevim.g.terminal_color_6 = ui_focus -- tealvim.g.terminal_color_7 = content_normal -- silvervim.g.terminal_color_8 = ui_minor -- greyvim.g.terminal_color_9 = error -- redvim.g.terminal_color_10 = info -- limevim.g.terminal_color_11 = content_focus -- yellowvim.g.terminal_color_12 = ui_important_local -- bluevim.g.terminal_color_13 = ui_accent -- fuchsiavim.g.terminal_color_14 = ui_important_global -- aquavim.g.terminal_color_15 = ui_normal -- whitelocal set_group_properties = function ( self, properties ) vim.validate { properties = { properties, 'table', }, -- • fg (or foreground): color name or "#RRGGBB", see note. ['properties.fg'] = { properties.fg, 'string', true, }, -- • bg (or background): color name or "#RRGGBB", see note. ['properties.bg'] = { properties.bg, 'string', true, }, -- • sp (or special): color name or "#RRGGBB" ['properties.sp'] = { properties.sp, 'string', true, }, -- • blend: integer between 0 and 100 ['properties.blend'] = { properties.blend, 'number', true, }, -- • bold: boolean ['properties.bold'] = { properties.bold, 'boolean', true, }, -- • standout: boolean ['properties.standout'] = { properties.standout, 'boolean', true, }, -- • underline: boolean ['properties.underline'] = { properties.underline, 'boolean', true, }, -- • undercurl: boolean ['properties.undercurl'] = { properties.undercurl, 'boolean', true, }, -- • underdotted: boolean ['properties.underdotted'] = { properties.underdotted, 'boolean', true, }, -- • underdashed: boolean ['properties.underdashed'] = { properties.underdashed, 'boolean', true, }, -- • strikethrough: boolean ['properties.strikethrough'] = { properties.strikethrough, 'boolean', true, }, -- • italic: boolean ['properties.italic'] = { properties.italic, 'boolean', true, }, -- • reverse: boolean ['properties.reverse'] = { properties.reverse, 'boolean', true, }, -- • nocombine: boolean ['properties.nocombine'] = { properties.nocombine, 'boolean', true, }, -- • default: Don't override existing definition |:hi-default| ['properties.default'] = { properties.default, 'boolean', true, }, -- • ctermfg: Sets foreground of cterm color |ctermfg| ['properties.ctermfg'] = { properties.ctermfg, 'string', true, }, -- • ctermbg: Sets background of cterm color |ctermbg| ['properties.ctermbg'] = { properties.ctermbg, 'string', true, }, -- • cterm: cterm attribute map, like |highlight-args|. If not set, cterm attributes will match those from the attribute map documented above. ['properties.cterm'] = { properties.cterm, 'table', true, }, -- • force: if true force update the highlight group when it exists. ['properties.force'] = { properties.force, 'boolean', true, }, } -- vim.print( 'SET GROUP PROPERTIES', self, properties ) for key, value in pairs( properties ) do self[key] = value endendlocal new_group = function () return setmetatable( {}, { __call = set_group_properties, } )endlocal add_group = function ( self, key ) if not self.groups[key] then self.groups[key] = new_group() end return self.groups[key]endlocal link_group = function ( self, key, value ) -- vim.print( 'linking group', self, key, value ) local group = add_group( self, key ) for name, link_group in pairs( self.groups ) do if link_group == value then -- vim.print( 'found group to link ' .. name .. ' to ' .. key ) group.link = name return group end endendlocal _ = setmetatable( { groups = {}, }, { __index = add_group, __newindex = link_group,} )_.Debug { fg = ui_normal, bg = debug, bold = true, }_.Normal { fg = content_normal, bg = content_backdrop, }_.NotifyBackground { bg = ui_backdrop, }_.Comment { fg = content_important_global, }_.LineNr { fg = ui_minor, bg = content_backdrop, }_.CursorLineNr { fg = ui_focus, bg = ui_backdrop, }_.Search { bg = content_unfocus, }_.IncSearch { fg = content_focus, }_.CurSearch { fg = content_normal, bg = content_important_global, }_.NormalFloat { fg = ui_normal, bg = ui_backdrop, }_.FloatBorder { fg = _.NormalFloat.bg, bg = _.NormalFloat.bg, }_.ColorColumn { fg = ui_important_global, bg = _.Normal.bg, }_.Conceal { fg = content_focus, bg = _.Normal.bg, }_.Cursor { bg = ui_accent, }-- _.lCursor = _.Cursor-- _.CursorIM = _.Cursor_.Directory { fg = _.Normal.fg, }_.DiffAdd { fg = content_focus, }_.DiffDelete { fg = content_focus, strikethrough = true, }_.DiffChange { fg = content_important_global, }_.DiffText { fg = content_normal, bg = content_important_local, }_.EndOfBuffer = _.Normal-- _.TermCursor = _.Cursor-- _.TermCursorNC = _.Cursor_.ErrorMsg { fg = error, }_.VertSplit { fg = ui_important_global, bg = _.LineNr.bg, }_.Folded = _.Conceal_.FoldColumn = _.LineNr_.SignColumn = _.LineNr_.ModeMsg { bold = true, }_.MsgArea = _.Normal_.MsgSeparator = _.Debug_.MoreMsg = _.Normal_.NonText { fg = content_unfocus, }_.Whitespace = _.NonText_.NormalNC = _.Normal_.Pmenu = _.NormalFloat_.PmenuSel { fg = ui_important_local, sp = ui_important_local, bg = _.Pmenu.bg, bold = true, underline = true, }_.PmenuSbar { bg = ui_unfocus, }_.PmenuThumb { bg = ui_minor, }_.Question { fg = ui_important_local, bold = true, }_.QuickFixLine = _.PmenuSel_.SpecialKey { fg = error, bg = content_unfocus, bold = true, }_.SpellBad { fg = error, undercurl = true, }_.SpellCap = _.SpellBad_.SpellLocal = _.SpellBad_.SpellRare = _.SpellBad_.StatusLine { fg = ui_focus, bg = ui_unfocus, }_.StatusLineNC { fg = ui_normal, bg = ui_unfocus, }_.Winbar { fg = ui_focus, bg = _.StatusLine.bg, }_.WinbarNC { fg = ui_minor, bg = _.LineNr.bg, }_.Title { fg = content_important_global, sp = content_important_global, bold = true, underline = true, }_.TabLine = _.StatusLine_.TabLineFill { fg = _.TabLine.fg, bg = content_backdrop, }_.TabLineSel { fg = ui_important_global, bg = ui_unfocus, }_.Visual { bg = content_unfocus, }_.VisualNOS { bg = ui_unfocus, }_.WarningMsg { fg = warning, bold = true, }_.WildMenu = _.Debug_.String { fg = content_important_local, italic = true, }_.Constant = _.String_.Character = _.String_.Number = _.String_.Boolean = _.String_.Float = _.String_.Identifier = _.Normal_.MutableVariable = _.Debug_.Function = _.Normal_.Statement { fg = content_minor, }_.Conditional = _.Statement_.Repeat = _.Statement_.Label = _.Statement_.Operator = _.Statement_.Keyword = _.Statement_.Exception = _.Statement_.PreProc { fg = content_important_global, bg = content_unfocus, bold = true, }_.Include = _.PreProc_.Define = _.PreProc_.Macro = _.PreProc_.PreCondit = _.PreProc_.Type = _.Statement_.StorageClass = _.Statement_.Structure = _.Statement_.Typedef = _.Statement_.Special { fg = content_normal, italic = true, bold = true, }_.SpecialChar = _.Special_.Tag = _.Special_.Delimiter { fg = content_minor, }_.SpecialComment = _.Special_.Underlined { sp = content_normal, underline = true, }_.Bold { bold = true, }_.Italic { italic = true, }_.Ignore { fg = _.Normal.bg, bg = _.Normal.bg, }_.Error { fg = error, }_.Todo { fg = content_important_global, sp = content_important_global, bold = true, underdouble = true, }_.DiagnosticUnnecessary { fg = ui_focus, }_.DiagnosticDeprecated { fg = ui_important_global, sp = ui_important_global, strikethrough = true, }_.DiagnosticError { fg = error, }_.DiagnosticWarn { fg = warning, }_.DiagnosticInfo { fg = info, }_.DiagnosticHint { fg = ui_important_local, }_.DiagnosticOk { fg = ui_minor, }_.DiagnosticVirtualTextError = _.DiagnosticError_.DiagnosticVirtualTextWarn = _.DiagnosticWarn_.DiagnosticVirtualTextInfo = _.DiagnosticInfo_.DiagnosticVirtualTextHint = _.DiagnosticHint_.DiagnosticVirtualOkHint = _.DiagnosticOk_.DiagnosticUnderlineError { fg = _.DiagnosticError.fg, sp = _.DiagnosticError.fg, underdouble = true, }_.DiagnosticUnderlineWarn { fg = _.DiagnosticWarn.fg, sp = _.DiagnosticWarn.fg, underline = true, }_.DiagnosticUnderlineInfo { fg = _.DiagnosticInfo.fg, sp = _.DiagnosticInfo.fg, underdashed = true, }_.DiagnosticUnderlineHint { fg = _.DiagnosticHint.fg, sp = _.DiagnosticHint.fg, italic = true, underdotted = true, }_.DiagnosticUnderlineOk { fg = _.DiagnosticOk.fg, italic = true, }_.DiagnosticSignError = _.DiagnosticError_.DiagnosticSignWarn = _.DiagnosticWarn_.DiagnosticSignInfo = _.DiagnosticInfo_.DiagnosticSignHint = _.DiagnosticHint_.DiagnosticSignOk = _.DiagnosticOk_.LspReferenceText { sp = content_unfocus, underline = true, }_.LspReferenceRead = _.LspReferenceText_.LspReferenceWrite = _.LspReferenceText_.LspInlayHint { fg = content_minor, bg = _.Normal.bg, }_['@text.literal'] = _.Comment_['@text.reference'] = _.Identifier_['@text.title'] = _.Title_['@text.underline'] = _.Underlined_['@text.todo'] = _.Todo_['@comment'] = _.Comment_['@punctuation'] = _.Delimiter_['@constant'] = _.Constant_['@constant.builtin'] = _.Special_['@constant.macro'] = _.Define_['@define'] = _.Define_['@macro'] = _.Macro_['@string'] = _.String_['@string.escape'] = _.SpecialChar_['@string.special'] = _.SpecialChar_['@character'] = _.Character_['@character.special'] = _.SpecialChar_['@number'] = _.Number_['@boolean'] = _.Boolean_['@float'] = _.Float_['@function'] = _.Function_['@function.builtin'] = _.Special_['@function.macro'] = _.Macro_['@parameter'] = _.Identifier_['@method'] = _.Function_['@field'] = _.Identifier_['@property'] = _.Identifier_['@constructor'] = _.Special_['@conditional'] = _.Conditional_['@repeat'] = _.Repeat_['@label'] = _.Label_['@operator'] = _.Operator_['@keyword'] = _.Keyword_['@keyword.return'] { fg = _.Keyword.fg, bg = _.Keyword.bg, underline = true, bold = true, }_['@exception'] = _.Exception_['@variable'] = _.Identifier_['@type'] = _.Type_['@type.definition'] = _.Typedef_['@storageclass'] = _.StorageClass_['@structure'] = _.Structure_['@namespace'] = _.Identifier_['@include'] = _.Include_['@preproc'] = _.PreProc_['@debug'] = _.Debug_['@tag'] = _.Tag_['@lsp.type.namespace'] = _['@namespace']_['@lsp.type.type'] = _['@type']_['@lsp.type.class'] = _['@type']_['@lsp.type.enum'] = _['@type']_['@lsp.type.interface'] = _['@type']_['@lsp.type.struct'] = _['@structure']_['@lsp.type.parameter'] = _['@parameter']_['@lsp.type.variable'] = _['@variable']_['@lsp.type.property'] = _['@property']_['@lsp.type.enumMember'] = _['@constant']_['@lsp.type.function'] = _['@function']_['@lsp.type.method'] = _['@method']_['@lsp.type.macro'] = _['@macro']_['@lsp.type.decorator'] = _['@function']_.LazyButton = _.NormalFloat_.LazyButton { sp = _.NormalFloat.fg, bold = true, }_.LazyButtonActive { fg = ui_focus, sp = _.NormalFloat.fg, bg = ui_important_local, bold = true, }_.LazyComment = _.Keyword_.LazyCommit = _.LazyComment_.LazyCommitIssue = _.LazyComment_.LazyCommitScope = _.LazyComment_.LazyCommitScope { italic = true, }_.LazyCommitType = _.LazyCommitScope_.LazyDimmed { fg = _.NormalFloat.fg, }_.LazyDir { fg = _.NormalFloat.fg, }_.LazyH1 = _.Bold_.LazyH2 = _.LazyH1_.LazyLocal {}_.LazyNoCond = _.WarningMsg_.LazyNormal = _.NormalFloat_.LazyProgressDone { fg = _.Search.bg, bg = _.Cursor.bg, bold = true, }_.LazyProgressTodo { fg = _.LazyProgressDone.bg, bg = _.LazyProgressDone.fg, bold = true, }_.LazyProp = _.LazyComment_.LazyReasonCmd = _.NormalFloat_.LazyReasonEvent = _.NormalFloat_.LazyReasonFt = _.NormalFloat_.LazyReasonImport = _.NormalFloat_.LazyReasonKeys = _.NormalFloat_.LazyReasonPlugin = _.NormalFloat_.LazyReasonRuntime = _.NormalFloat_.LazyReasonSource = _.NormalFloat_.LazyReasonStart = _.NormalFloat_.LazySpecial { fg = _.ColorColumn.fg, }_.LazyTaskError = _.ErrorMsg_.LazyTaskOutput = _.Debug_.LazyUrl { sp = _.NormalFloat.fg, italic = true, underline = true, }_.LazyValue { italic = true, }-- _.NoiceCmdline = _.NormalFloat-- _.NoiceCmdlineIcon { fg = ui_accent, }-- _.NoiceCmdlineIconCalculator = _.NoiceCmdlineIcon-- _.NoiceCmdlineIconCmdline = _.NoiceCmdlineIcon-- _.NoiceCmdlineIconFilter = _.NoiceCmdlineIcon-- _.NoiceCmdlineIconHelp = _.NoiceCmdlineIcon-- _.NoiceCmdlineIconIncRename = _.NoiceCmdlineIcon-- _.NoiceCmdlineIconInput = _.NoiceCmdlineIcon-- _.NoiceCmdlineIconLua = _.NoiceCmdlineIcon-- _.NoiceCmdlineIconSearch = _.NoiceCmdlineIcon---- _.NoiceCmdlinePopup = _.NormalFloat-- _.NoiceCmdlinePopupBorder = _.FloatBorder-- _.NoiceCmdlinePopupBorderCalculator = _.NoiceCmdlinePopupBorder-- _.NoiceCmdlinePopupBorderCmdline = _.NoiceCmdlinePopupBorder-- _.NoiceCmdlinePopupBorderFilter = _.NoiceCmdlinePopupBorder-- _.NoiceCmdlinePopupBorderHelp = _.NoiceCmdlinePopupBorder-- _.NoiceCmdlinePopupBorderIncRename = _.NoiceCmdlinePopupBorder-- _.NoiceCmdlinePopupBorderInput = _.NoiceCmdlinePopupBorder-- _.NoiceCmdlinePopupBorderLua = _.NoiceCmdlinePopupBorder-- _.NoiceCmdlinePopupBorderSearch = _.NoiceCmdlinePopupBorder-- _.NoiceCmdlinePopupTitle = _.NoiceCmdlinePopup-- _.NoiceCmdlinePrompt = _.NoiceCmdlinePopup-- _.NoiceCompletionItemKindDefault { fg = ui_normal, }-- _.NoiceCompletionItemKindClass = _.NoiceCompletionItemKindDefault-- _.NoiceCompletionItemKindColor = _.NoiceCompletionItemKindDefault-- _.NoiceCompletionItemKindConstant = _.NoiceCompletionItemKindDefault-- _.NoiceCompletionItemKindConstructor = _.NoiceCompletionItemKindDefault-- _.NoiceCompletionItemKindEnum = _.NoiceCompletionItemKindDefault-- _.NoiceCompletionItemKindEnumMember = _.NoiceCompletionItemKindDefault-- _.NoiceCompletionItemKindField = _.NoiceCompletionItemKindDefault-- _.NoiceCompletionItemKindFile = _.NoiceCompletionItemKindDefault-- _.NoiceCompletionItemKindFolder = _.NoiceCompletionItemKindDefault-- _.NoiceCompletionItemKindFunction = _.NoiceCompletionItemKindDefault-- _.NoiceCompletionItemKindInterface = _.NoiceCompletionItemKindDefault-- _.NoiceCompletionItemKindKeyword = _.NoiceCompletionItemKindDefault-- _.NoiceCompletionItemKindMethod = _.NoiceCompletionItemKindDefault-- _.NoiceCompletionItemKindModule = _.NoiceCompletionItemKindDefault-- _.NoiceCompletionItemKindProperty = _.NoiceCompletionItemKindDefault-- _.NoiceCompletionItemKindSnippet = _.NoiceCompletionItemKindDefault-- _.NoiceCompletionItemKindStruct = _.NoiceCompletionItemKindDefault-- _.NoiceCompletionItemKindText = _.NoiceCompletionItemKindDefault-- _.NoiceCompletionItemKindUnit = _.NoiceCompletionItemKindDefault-- _.NoiceCompletionItemKindValue = _.NoiceCompletionItemKindDefault-- _.NoiceCompletionItemKindVariable = _.NoiceCompletionItemKindDefault-- _.NoiceCompletionItemMenu = _.NoiceCompletionItemKindDefault-- _.NoiceCompletionItemWord = _.NoiceCompletionItemKindDefault---- _.NoiceConfirm = _.NormalFloat-- _.NoiceConfirmBorder = _.FloatBorder-- _.NoiceFormatConfirm = _.LazyButton-- _.NoiceFormatConfirmDefault = _.LazyButtonActive---- _.NoiceCursor = _.Cursor---- _.NoiceFormatDate = _.NonText-- _.NoiceFormatEvent = _.NonText-- _.NoiceFormatKind = _.NonText-- _.NoiceFormatLevelDebug { fg = _.Debug.bg, }-- _.NoiceFormatLevelError = _.DiagnosticError-- _.NoiceFormatLevelInfo = _.DiagnosticInfo-- _.NoiceFormatLevelOff { fg = content_minor, }-- _.NoiceFormatLevelTrace = _.DiagnosticHint-- _.NoiceFormatLevelWarn = _.DiagnosticWarn-- _.NoiceFormatProgressDone = _.LazyProgressDone-- _.NoiceFormatProgressTodo = _.LazyProgressTodo-- _.NoiceFormatTitle = _.Title---- _.NoiceLspProgressClient = _.Debug-- _.NoiceLspProgressSpinner = _.Debug-- _.NoiceLspProgressTitle = _.Debug---- _.NoiceMini = _.DiagnosticInfo---- _.NoicePopup = _.NormalFloat-- _.NoicePopupBorder = _.FloatBorder---- _.NoicePopupmenu = _.Pmenu-- _.NoicePopupmenuBorder = _.FloatBorder-- _.NoicePopupmenuMatch = _.Bold-- _.NoicePopupmenuSelected = _.PmenuSel---- _.NoiceScrollbar = _.PmenuSbar-- _.NoiceScrollbarThumb = _.PmenuThumb---- _.NoiceSplit = _.Normal-- _.NoiceSplitBorder = _.FloatBorder-- _.NoiceVirtualText { fg = ui_important_global, bg = ui_unfocus, }-- _.NotifyERRORBorder { fg = _.DiagnosticError.fg, bg = _.FloatBorder.bg, }-- _.NotifyWARNBorder { fg = _.DiagnosticWarn.fg, bg = _.FloatBorder.bg, }-- _.NotifyINFOBorder { fg = _.DiagnosticInfo.fg, bg = _.FloatBorder.bg, }-- _.NotifyDEBUGBorder { fg = _.Debug.bg, bg = _.FloatBorder.bg, }-- _.NotifyTRACEBorder { fg = _.DiagnosticHint.fg, bg = _.FloatBorder.bg, }---- _.NotifyERRORIcon { fg = _.DiagnosticError.fg, }-- _.NotifyWARNIcon { fg = _.DiagnosticWarn.fg, }-- _.NotifyINFOIcon { fg = _.DiagnosticInfo.fg, }-- _.NotifyDEBUGIcon { fg = _.Debug.bg, }-- _.NotifyTRACEIcon { fg = _.DiagnosticHint.fg, }---- _.NotifyERRORTitle { fg = _.DiagnosticError.fg, }-- _.NotifyWARNTitle { fg = _.DiagnosticWarn.fg, }-- _.NotifyINFOTitle { fg = _.DiagnosticInfo.fg, }-- _.NotifyDEBUGTitle { fg = _.Debug.bg, }-- _.NotifyTRACETitle { fg = _.DiagnosticHint.fg, }---- _.NotifyERRORBody = _.NormalFloat-- _.NotifyWARNBody = _.NormalFloat-- _.NotifyINFOBody = _.NormalFloat-- _.NotifyDEBUGBody = _.NormalFloat-- _.NotifyTRACEBody = _.NormalFloat_.TelescopeSelectionCaret = _.PmenuSel_.TelescopeSelection = _.PmenuSel_.TelescopeMultiSelection { fg = content_normal, bg = ui_important_local, }_.FlashBackdrop {}_.FlashMatch = _.IncSearch_.FlashCurrent = _.CurSearch_.FlashLabel { fg = ui_accent, bg = ui_backdrop, }_.GitSignsAdd { fg = _.DiffAdd.fg, bg = _.LineNr.bg, }_.GitSignsChange { fg = _.DiffChange.fg, bg = _.LineNr.bg, }_.GitSignsDelete { fg = _.DiffDelete.fg, bg = _.LineNr.bg, }_.GitSignsChangedelete = _.GitSignsChange_.GitSignsTopdelete = _.GitSignsDelete_.GitSignsUntracked = _.GitSignsAdd_.GitSignsAddNr = _.GitSignsAdd_.GitSignsChangeNr = _.GitSignsChange_.GitSignsDeleteNr = _.GitSignsDelete_.GitSignsChangedeleteNr = _.GitSignsChange_.GitSignsTopdeleteNr = _.GitSignsDelete_.GitSignsUntrackedNr = _.GitSignsAdd_.GitSignsAddLn = _.GitSignsAdd_.GitSignsChangeLn = _.GitSignsChange_.GitSignsChangedeleteLn = _.GitSignsChange_.GitSignsUntrackedLn = _.GitSignsAdd_.GitSignsAddPreview = _.GitSignsAdd_.GitSignsDeletePreview = _.GitSignsDelete_.GitSignsCurrentLineBlame = _.NonText_.GitSignsAddInline = _.GitSignsAdd_.GitSignsDeleteInline = _.GitSignsDelete_.GitSignsChangeInline = _.GitSignsChange_.GitSignsAddLnInline = _.DiffText_.GitSignsDeleteLnInline = _.DiffText_.GitSignsChangeLnInline = _.DiffText_.GitSignsDeleteVirtLn = _.GitSignsDelete_.GitSignsDeleteVirtLnInLine = _.DiffText_.GitSignsVirtLnum { fg = _.LineNr.fg, }_.WhichKey { fg = ui_important_global, }_.WhichKeyGroup { fg = ui_important_local, }_.WhichKeySeparator { fg = ui_minor, }_.WhichKeyDesc { fg = ui_normal, }_.WhichKeyFloat = _.NormalFloat_.WhichKeyBorder = _.FloatBorder_.WhichKeyValue = _.Comment_.IblIndent = _.Whitespace_.IblWhitespace = _.Whitespace_.IblScope { fg = ui_focus, bg = _.Normal.bg, }_.Hlargs { fg = content_important_local, }_.MiniStarterCurrent { fg = ui_normal, bg = ui_accent, }_.MiniStarterFooter = _.Keyword_.MiniStarterHeader = _.Comment_.MiniStarterInactive { fg = content_unfocus, }_.MiniStarterItem = _.Normal_.MiniStarterItemBullet = _.Whitespace_.MiniStarterItemPrefix { fg = content_focus, }_.MiniStarterSection { fg = content_important_global, underline = true, }_.MiniStarterQuery { fg = content_normal, bg = content_accent, }--TODO: Oil highlightsfor name, group in pairs( _.groups ) do local namespace = 0 -- vim.print( namespace, name, group ) vim.api.nvim_set_hl( namespace, name, group )end-- vim.print( 'ALL HIGHLIGHTS', _ )+3 / −1 text lines
+3 / −3 text lines
"nvim-neoclip.lua": { "branch": "main", "commit": "798cd0592a81c185465db3a091a0ff8a21af60fd" }, "nvim-tree.lua": { "branch": "master", "commit": "d35a8d5ec6358ada4b058431b367b32360737466" }, "nvim-tree.lua": { "branch": "master", "commit": "707b24af91a1d05823099ed8c5450796290466ba" }, "nvim-treesitter": { "branch": "master", "commit": "f197a15b0d1e8d555263af20add51450e5aaa1f0" }, "nvim-treesitter-textobjects": { "branch": "master", "commit": "d2a4ffc22d9d38d44edb73da007b3cf43451e9b4" }, "nvim-ts-context-commentstring": { "branch": "main", "commit": "7ab799a9792f7cf3883cf28c6a00ad431f3d382a" }, "nvim-web-devicons": { "branch": "master", "commit": "75df79feb02d5e0ec114e447453775d4d291ea03" }, "nvim-web-devicons": { "branch": "master", "commit": "a851380fbea4c1312d11f13d5cdc86a7a19808dd" }, "persistence.nvim": { "branch": "main", "commit": "ad538bfd5336f1335cdb6fd4e0b0eebfa6e12f32" },+30 / −30 text lines
local win32 = vim.loop.os_uname().sysname:match'Win'local win32 = vim.loop.os_uname().sysname:match 'Win' { 'Show', '' , lazy.show } , { 'Install', 'i', lazy.install }, { 'Update', 'u', lazy.update }, { 'Sync', 's', lazy.sync }, { 'Clean', 'x', lazy.clean }, { 'Check', 'c', lazy.check }, { 'Log', 'l', lazy.log }, { 'Restore', 'r', lazy.restore }, { 'Profile', 'p', lazy.profile }, { 'Debug', 'd', lazy.debug }, { 'Show', '', lazy.show, }, { 'Install', 'i', lazy.install, }, { 'Update', 'u', lazy.update, }, { 'Sync', 's', lazy.sync, }, { 'Clean', 'x', lazy.clean, }, { 'Check', 'c', lazy.check, }, { 'Log', 'l', lazy.log, }, { 'Restore', 'r', lazy.restore, }, { 'Profile', 'p', lazy.profile, }, { 'Debug', 'd', lazy.debug, },+1 / −1 text lines
+13 / −13 text lines
if vim.tbl_isempty( self.mode ) then self.mode[1] = available_modes.normal_visual_select_operator_pending end if vim.tbl_isempty( self.modes ) then self.modes[1] = available_modes.normal_visual_select_operator_pending end vim.keymap.set( self.mode, key, command, options ) vim.keymap.set( self.modes, key, command, options ) vim.keymap.set( self.mode, keys, command, options ) vim.keymap.set( self.modes, keys, command, options ) local delete_options = options.buffer and { buffer = options.buffer } or {} local delete_options = options.buffer and { buffer = options.buffer, } or {} vim.keymap.del( self.mode, key, delete_options ) vim.keymap.del( self.modes, key, delete_options ) vim.keymap.del( self.mode, keys, delete_options ) vim.keymap.del( self.modes, keys, delete_options )new file mode 100644+14 / −0 text lines
+1 / −0 text lines
Binary size (old → new): 340 → 340 bytes.