From 60068f385906a025316c0567b25420e449977e40 Mon Sep 17 00:00:00 2001 From: Ben Sima Date: Mon, 14 Mar 2022 11:25:22 -0700 Subject: switch to photon vim theme --- lib/common.nix | 12 +++++++++++- 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; }; diff --git a/lib/vimrc b/lib/vimrc index d298390..3143de5 100644 --- a/lib/vimrc +++ b/lib/vimrc @@ -111,7 +111,7 @@ function! 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' " -- cgit v1.2.3