Skip to content

Commit

Permalink
add missing inverse option. Resolve ellisonleao#127
Browse files Browse the repository at this point in the history
  • Loading branch information
ellisonleao committed Jun 29, 2022
1 parent 49844ff commit 328f9e5
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 0 deletions.
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,7 @@ require("gruvbox").setup({
underline = true,
bold = true,
italic = true, -- will make italic comments and special strings
inverse = false, -- invert background for search, diffs, statuslines and errors
invert_selection = false,
invert_signs = false,
invert_tabline = false,
Expand Down
1 change: 1 addition & 0 deletions lua/gruvbox/init.lua
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ M.config = {
invert_signs = false,
invert_tabline = false,
invert_intend_guides = false,
inverse = true,
contrast = "",
overrides = {},
}
Expand Down
2 changes: 2 additions & 0 deletions tests/gruvbox/gruvbox_spec.lua
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ describe("setup", function()
underline = true,
bold = true,
italic = true,
inverse = true,
invert_selection = false,
invert_signs = false,
invert_tabline = false,
Expand All @@ -26,6 +27,7 @@ describe("setup", function()
underline = false,
bold = true,
italic = true,
inverse = true,
invert_selection = false,
invert_signs = false,
invert_tabline = false,
Expand Down

0 comments on commit 328f9e5

Please sign in to comment.