From dee7c7302ad72717309ec17fca78672595c21d8e Mon Sep 17 00:00:00 2001 From: Noah Masur <7386960+nmasur@users.noreply.github.com> Date: Sun, 27 Nov 2022 22:44:52 -0700 Subject: [PATCH] add gruvbox to neovim flake --- flake.nix | 1 + modules/colorscheme/gruvbox/neovim-gruvbox.nix | 12 ++++++++++++ 2 files changed, 13 insertions(+) create mode 100644 modules/colorscheme/gruvbox/neovim-gruvbox.nix diff --git a/flake.nix b/flake.nix index 87cd668..ecb60a1 100644 --- a/flake.nix +++ b/flake.nix @@ -179,6 +179,7 @@ ./modules/neovim/plugins/lsp.nix ./modules/neovim/plugins/completion.nix ./modules/neovim/plugins/toggleterm.nix + ./modules/colorscheme/gruvbox/neovim-gruvbox.nix ]; }; diff --git a/modules/colorscheme/gruvbox/neovim-gruvbox.nix b/modules/colorscheme/gruvbox/neovim-gruvbox.nix new file mode 100644 index 0000000..9e46ff8 --- /dev/null +++ b/modules/colorscheme/gruvbox/neovim-gruvbox.nix @@ -0,0 +1,12 @@ +{ pkgs, ... }: { + + plugins = [ pkgs.vimPlugins.vim-gruvbox8 ]; + + vim.g.gruvbox_italicize_strings = 0; + vim.o.background = "dark"; + vimscript = '' + let g:gruvbox_italicize_strings = 0 + colorscheme gruvbox8 + ''; + +}