diff options
Diffstat (limited to 'lib')
-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' " |