diff options
Diffstat (limited to 'lua')
| -rw-r--r-- | lua/gruvbox/groups.lua | 3 | ||||
| -rw-r--r-- | lua/gruvbox/init.lua | 2 |
2 files changed, 4 insertions, 1 deletions
diff --git a/lua/gruvbox/groups.lua b/lua/gruvbox/groups.lua index 61a3573..bc3f9df 100644 --- a/lua/gruvbox/groups.lua +++ b/lua/gruvbox/groups.lua @@ -139,7 +139,8 @@ groups.setup = function() GruvboxPurpleUnderline = { undercurl = config.undercurl, sp = colors.purple }, GruvboxAquaUnderline = { undercurl = config.undercurl, sp = colors.aqua }, GruvboxOrangeUnderline = { undercurl = config.undercurl, sp = colors.orange }, - Normal = { fg = colors.fg1, bg = colors.bg0 }, + Normal = config.transparent_mode and { fg = nil, bg = nil } or { fg = colors.fg1, bg = colors.bg0 }, + NormalNC = config.dim_inactive and { fg = colors.fg0, bg = colors.bg1 } or { link = "Normal" }, CursorLine = { bg = colors.bg1 }, CursorColumn = { link = "CursorLine" }, TabLineFill = { fg = colors.bg4, bg = colors.bg1, reverse = config.invert_tabline }, diff --git a/lua/gruvbox/init.lua b/lua/gruvbox/init.lua index 69bc598..aee9ccd 100644 --- a/lua/gruvbox/init.lua +++ b/lua/gruvbox/init.lua @@ -14,6 +14,8 @@ M.config = { inverse = true, -- invert background for search, diffs, statuslines and errors contrast = "", -- can be "hard", "soft" or empty string overrides = {}, + dim_inactive = false, + transparent_mode = false, } function M.setup(config) |
