diff options
Diffstat (limited to 'lua')
| -rw-r--r-- | lua/gruvbox.lua | 73 |
1 files changed, 61 insertions, 12 deletions
diff --git a/lua/gruvbox.lua b/lua/gruvbox.lua index 493fac8..cd81874 100644 --- a/lua/gruvbox.lua +++ b/lua/gruvbox.lua @@ -29,20 +29,21 @@ local Gruvbox = {} ---@field nocombine boolean? ---@class GruvboxConfig ----@field terminal_colors boolean? ----@field undercurl boolean? ----@field underline boolean? ---@field bold boolean? ----@field italic ItalicConfig? ----@field strikethrough boolean? ---@field contrast Contrast? +---@field dim_inactive boolean? +---@field inverse boolean? ---@field invert_selection boolean? ---@field invert_signs boolean? ---@field invert_tabline boolean? ----@field invert_intend_guides boolean? ----@field inverse boolean? +---@field italic ItalicConfig? ---@field overrides table<string, HighlightDefinition>? ---@field palette_overrides table<string, string>? +---@field strikethrough boolean? +---@field terminal_colors boolean? +---@field transparent_mode boolean? +---@field undercurl boolean? +---@field underline boolean? Gruvbox.config = { terminal_colors = true, undercurl = true, @@ -59,7 +60,6 @@ Gruvbox.config = { invert_selection = false, invert_signs = false, invert_tabline = false, - invert_intend_guides = false, inverse = true, contrast = "", palette_overrides = {}, @@ -306,8 +306,8 @@ local function get_groups() CurSearch = { link = "IncSearch" }, QuickFixLine = { link = "GruvboxPurple" }, Underlined = { fg = colors.blue, underline = config.underline }, - StatusLine = { fg = colors.bg2, bg = colors.fg1, reverse = config.inverse }, - StatusLineNC = { fg = colors.bg1, bg = colors.fg4, reverse = config.inverse }, + StatusLine = { fg = colors.fg1, bg = colors.bg2 }, + StatusLineNC = { fg = colors.fg4, bg = colors.bg1 }, WinBar = { fg = colors.fg4, bg = colors.bg0 }, WinBarNC = { fg = colors.fg3, bg = colors.bg1 }, WinSeparator = config.transparent_mode and { fg = colors.bg3, bg = nil } or { fg = colors.bg3, bg = colors.bg0 }, @@ -397,6 +397,7 @@ local function get_groups() DiagnosticVirtualTextHint = { link = "GruvboxAqua" }, DiagnosticVirtualTextOk = { link = "GruvboxGreen" }, LspReferenceRead = { link = "GruvboxYellowBold" }, + LspReferenceTarget = { link = "Visual" }, LspReferenceText = { link = "GruvboxYellowBold" }, LspReferenceWrite = { link = "GruvboxOrangeBold" }, LspCodeLens = { link = "GruvboxGray" }, @@ -478,15 +479,25 @@ local function get_groups() CocWarningHighlight = { link = "GruvboxOrangeUnderline" }, CocInfoHighlight = { link = "GruvboxBlueUnderline" }, CocHintHighlight = { link = "GruvboxAquaUnderline" }, + SnacksPicker = { link = "GruvboxFg1" }, + SnacksPickerBorder = { link = "SnacksPicker" }, + SnacksPickerListCursorLine = { link = "CursorLine" }, + SnacksPickerMatch = { link = "GruvboxOrange" }, + SnacksPickerPrompt = { link = "GruvboxRed" }, + SnacksPickerTitle = { link = "SnacksPicker" }, + SnacksPickerDir = { link = "GruvboxGray" }, + SnacksPickerPathHidden = { link = "GruvboxGray" }, + SnacksPickerGitStatusUntracked = { link = "GruvboxGray" }, + SnacksPickerPathIgnored = { link = "GruvboxBg3" }, TelescopeNormal = { link = "GruvboxFg1" }, - TelescopeSelection = { link = "GruvboxOrangeBold" }, + TelescopeSelection = { link = "CursorLine" }, TelescopeSelectionCaret = { link = "GruvboxRed" }, TelescopeMultiSelection = { link = "GruvboxGray" }, TelescopeBorder = { link = "TelescopeNormal" }, TelescopePromptBorder = { link = "TelescopeNormal" }, TelescopeResultsBorder = { link = "TelescopeNormal" }, TelescopePreviewBorder = { link = "TelescopeNormal" }, - TelescopeMatching = { link = "GruvboxBlue" }, + TelescopeMatching = { link = "GruvboxOrange" }, TelescopePromptPrefix = { link = "GruvboxRed" }, TelescopePrompt = { link = "TelescopeNormal" }, CmpItemAbbr = { link = "GruvboxFg0" }, @@ -1112,6 +1123,11 @@ local function get_groups() MiniTestFail = { link = "GruvboxRedBold" }, MiniTestPass = { link = "GruvboxGreenBold" }, MiniTrailspace = { bg = colors.red }, + WhichKeyTitle = { link = "NormalFloat" }, + NeoTreeFloatBorder = { link = "GruvboxGray" }, + NeoTreeTitleBar = { fg = colors.fg1, bg = colors.bg2 }, + NeoTreeDirectoryIcon = { link = "GruvboxGreen" }, + NeoTreeDirectoryName = { link = "GruvboxGreenBold" }, ["@comment"] = { link = "Comment" }, ["@none"] = { bg = "NONE", fg = "NONE" }, ["@preproc"] = { link = "PreProc" }, @@ -1246,6 +1262,39 @@ local function get_groups() ["@lsp.type.type"] = { link = "@type" }, ["@lsp.type.typeParameter"] = { link = "@type.definition" }, ["@lsp.type.variable"] = { link = "@variable" }, + + -- NeoTreeDirectoryName = { link = "Directory" }, + -- NeoTreeDotfile = { fg = colors.fg4 }, + -- NeoTreeFadeText1 = { fg = colors.fg3 }, + -- NeoTreeFadeText2 = { fg = colors.fg4 }, + -- NeoTreeFileIcon = { fg = colors.blue }, + -- NeoTreeFileName = { fg = colors.fg1 }, + -- NeoTreeFileNameOpened = { fg = colors.fg1, bold = true }, + -- NeoTreeFileStats = { fg = colors.fg3 }, + -- NeoTreeFileStatsHeader = { fg = colors.fg2, italic = true }, + -- NeoTreeFilterTerm = { link = "SpecialChar" }, + -- NeoTreeHiddenByName = { link = "NeoTreeDotfile" }, + -- NeoTreeIndentMarker = { fg = colors.fg4 }, + -- NeoTreeMessage = { fg = colors.fg3, italic = true }, + -- NeoTreeModified = { fg = colors.yellow }, + -- NeoTreeRootName = { fg = colors.fg1, bold = true, italic = true }, + -- NeoTreeSymbolicLinkTarget = { link = "NeoTreeFileName" }, + -- NeoTreeExpander = { fg = colors.fg4 }, + -- NeoTreeWindowsHidden = { link = "NeoTreeDotfile" }, + -- NeoTreePreview = { link = "Search" }, + -- NeoTreeGitAdded = { link = "GitGutterAdd" }, + -- NeoTreeGitConflict = { fg = colors.orange, bold = true, italic = true }, + -- NeoTreeGitDeleted = { link = "GitGutterDelete" }, + -- NeoTreeGitIgnored = { link = "NeoTreeDotfile" }, + -- NeoTreeGitModified = { link = "GitGutterChange" }, + -- NeoTreeGitRenamed = { link = "NeoTreeGitModified" }, + -- NeoTreeGitStaged = { link = "NeoTreeGitAdded" }, + -- NeoTreeGitUntracked = { fg = colors.orange, italic = true }, + -- NeoTreeGitUnstaged = { link = "NeoTreeGitConflict" }, + -- NeoTreeTabActive = { fg = colors.fg1, bold = true }, + -- NeoTreeTabInactive = { fg = colors.fg4, bg = colors.bg1 }, + -- NeoTreeTabSeparatorActive = { fg = colors.bg1 }, + -- NeoTreeTabSeparatorInactive = { fg = colors.bg2, bg = colors.bg1 }, } for group, hl in pairs(config.overrides) do |
