Skip to content

Commit

Permalink
Themes (gruvbox): fix setup
Browse files Browse the repository at this point in the history
Updated from @Christian-Rades diff
  • Loading branch information
jordanisaacs committed Sep 4, 2023
1 parent a2245e2 commit 8e4895c
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions modules/theme/supported_themes.nix
Original file line number Diff line number Diff line change
Expand Up @@ -86,10 +86,8 @@ in
gruvbox = {
setup = ''
-- gruvbox theme
require('gruvbox').setup {
style = "${cfg.style}"
}
require('gruvbox').load()
vim.o.background = "${cfg.style}"
vim.cmd.colorscheme "gruvbox"
'';
styles = [ "dark" "light" ];
defaultStyle = "dark";
Expand Down

0 comments on commit 8e4895c

Please sign in to comment.