summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBen Sima <bsima@groq.com>2022-03-14 11:25:22 -0700
committerBen Sima <bsima@groq.com>2022-03-14 11:25:22 -0700
commit60068f385906a025316c0567b25420e449977e40 (patch)
tree6efc41cd6658090c1bc8a13253b5b9b8515577c3
parentd769d15b12e6ae50097d95517480c2f84a4430e4 (diff)
switch to photon vim theme
-rw-r--r--lib/common.nix12
-rw-r--r--lib/vimrc2
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;
};
diff --git a/lib/vimrc b/lib/vimrc
index d298390..3143de5 100644
--- a/lib/vimrc
+++ b/lib/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'
"