diff options
| author | xbt573 <64583541+xbt573@users.noreply.github.com> | 2023-01-26 17:48:00 +0300 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-01-26 11:48:00 -0300 |
| commit | fa97ddf4cc839e278dd1cbd086bb82e7175b8b39 (patch) | |
| tree | 70fea669c50d8656aef78e78a24a5ebdec72ce11 /lua | |
| parent | 925b496cc02ddd7942b31a105413afd73b74bd69 (diff) | |
| download | gruvbox-fa97ddf4cc839e278dd1cbd086bb82e7175b8b39.tar.gz gruvbox-fa97ddf4cc839e278dd1cbd086bb82e7175b8b39.tar.xz | |
Transparency support for signs (#195)
* Transparency support for signs
* fix colors with transparency off
Diffstat (limited to 'lua')
| -rw-r--r-- | lua/gruvbox/groups.lua | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/lua/gruvbox/groups.lua b/lua/gruvbox/groups.lua index d225771..500df09 100644 --- a/lua/gruvbox/groups.lua +++ b/lua/gruvbox/groups.lua @@ -129,13 +129,13 @@ groups.setup = function() GruvboxAquaBold = { fg = colors.aqua, bold = config.bold }, GruvboxOrange = { fg = colors.orange }, GruvboxOrangeBold = { fg = colors.orange, bold = config.bold }, - GruvboxRedSign = { fg = colors.red, bg = colors.bg1, reverse = config.invert_signs }, - GruvboxGreenSign = { fg = colors.green, bg = colors.bg1, reverse = config.invert_signs }, - GruvboxYellowSign = { fg = colors.yellow, bg = colors.bg1, reverse = config.invert_signs }, - GruvboxBlueSign = { fg = colors.blue, bg = colors.bg1, reverse = config.invert_signs }, - GruvboxPurpleSign = { fg = colors.purple, bg = colors.bg1, reverse = config.invert_signs }, - GruvboxAquaSign = { fg = colors.aqua, bg = colors.bg1, reverse = config.invert_signs }, - GruvboxOrangeSign = { fg = colors.orange, bg = colors.bg1, reverse = config.invert_signs }, + GruvboxRedSign = config.transparent_mode and {fg = colors.red, reverse = config.invert_signs} or { fg = colors.red, bg = colors.bg1, reverse = config.invert_signs }, + GruvboxGreenSign = config.transparent_mode and {fg = colors.green, reverse = config.invert_signs} or { fg = colors.green, bg = colors.bg1, reverse = config.invert_signs }, + GruvboxYellowSign = config.transparent_mode and {fg = colors.yellow, reverse = config.invert_signs} or { fg = colors.yellow, bg = colors.bg1, reverse = config.invert_signs }, + GruvboxBlueSign = config.transparent_mode and {fg = colors.blue, reverse = config.invert_signs} or { fg = colors.blue, bg = colors.bg1, reverse = config.invert_signs }, + GruvboxPurpleSign = config.transparent_mode and {fg = colors.purple, reverse = config.invert_signs} or { fg = colors.purple, bg = colors.bg1, reverse = config.invert_signs }, + GruvboxAquaSign = config.transparent_mode and {fg = colors.aqua, reverse = config.invert_signs} or { fg = colors.aqua, bg = colors.bg1, reverse = config.invert_signs }, + GruvboxOrangeSign = config.transparent_mode and {fg = colors.orange, reverse = config.invert_signs} or { fg = colors.orange, bg = colors.bg1, reverse = config.invert_signs }, GruvboxRedUnderline = { undercurl = config.undercurl, sp = colors.red }, GruvboxGreenUnderline = { undercurl = config.undercurl, sp = colors.green }, GruvboxYellowUnderline = { undercurl = config.undercurl, sp = colors.yellow }, |
