diff options
author | Ben Sima <bsima@groq.com> | 2022-03-14 11:25:22 -0700 |
---|---|---|
committer | Ben Sima <bsima@groq.com> | 2022-03-14 11:25:22 -0700 |
commit | 60068f385906a025316c0567b25420e449977e40 (patch) | |
tree | 6efc41cd6658090c1bc8a13253b5b9b8515577c3 | |
parent | d769d15b12e6ae50097d95517480c2f84a4430e4 (diff) |
switch to photon vim theme
-rw-r--r-- | lib/common.nix | 12 | ||||
-rw-r--r-- | lib/vimrc | 2 |
2 files changed, 12 insertions, 2 deletions
diff --git a/lib/common.nix b/lib/common.nix index b4e666f..7f329b2 100644 --- a/lib/common.nix +++ b/lib/common.nix @@ -233,13 +233,23 @@ in editorconfig-vim vim-sensible vim-fugitive - awesome-vim-colorschemes vim-sexp-mappings-for-regular-people # vim-ripgrep # not in nixpkgs :( rainbow_parentheses vim-plug # just in case vim-addon-local-vimrc fzf-vim + (pkgs.vimUtils.buildVimPlugin { + pname = "photon"; + version = "2022.03.14"; + src = pkgs.fetchFromGitHub { + owner = "axvr"; + repo = "photon.vim"; + rev = "32b42c8a12bf9588259b76f3df6807960e0d7386"; + sha256 = "sha256-kM7WP03uE20yr0nCusB3ncHzgtEYxqNzoNoQGen9p+o="; + }; + meta.homepate = "https://github.com/axvr/photon.vim"; + }) ]; extraConfig = builtins.readFile ./vimrc; }; @@ -111,7 +111,7 @@ function! <SID>SynStack() endfunc set background=dark -colorscheme flattened_dark +colorscheme photon " disable my color scheme, it doesn't work with vimdiff "let g:colors_name = 'bs_monochrome' " |