From 36ecf283d253a24f2ff3c434a5cda4f69119beff Mon Sep 17 00:00:00 2001 From: tv Date: Tue, 21 May 2019 21:48:36 +0200 Subject: tv vim: move fzf to overlay --- tv/2configs/vim.nix | 10 +--------- tv/5pkgs/vim/fzf.nix | 11 +++++++++++ 2 files changed, 12 insertions(+), 9 deletions(-) create mode 100644 tv/5pkgs/vim/fzf.nix diff --git a/tv/2configs/vim.nix b/tv/2configs/vim.nix index a45e040e6..948058216 100644 --- a/tv/2configs/vim.nix +++ b/tv/2configs/vim.nix @@ -14,15 +14,7 @@ let { }; extra-runtimepath = concatMapStringsSep "," (pkg: "${pkg.rtp}") [ - # cannot use pkgs.vimPlugins.fzf-vim as it's missing :Rg - (pkgs.vimUtils.buildVimPlugin { - name = "fzf-2018-11-14"; - src = pkgs.fetchgit { - url = https://github.com/junegunn/fzf.vim; - rev = "ad1833ecbc9153b6e34a4292dc089a58c4bcb8dc"; - sha256 = "1z2q71q6l9hq9fqfqpj1svhyk4yk1bzw1ljhksx4bnpz8gkfbx2m"; - }; - }) + pkgs.tv.vimPlugins.fzf pkgs.vimPlugins.fzfWrapper pkgs.vimPlugins.undotree (pkgs.vimUtils.buildVimPlugin { diff --git a/tv/5pkgs/vim/fzf.nix b/tv/5pkgs/vim/fzf.nix new file mode 100644 index 000000000..14b6900b5 --- /dev/null +++ b/tv/5pkgs/vim/fzf.nix @@ -0,0 +1,11 @@ +{ pkgs }: + +# cannot use pkgs.vimPlugins.fzf-vim as it's missing :Rg +pkgs.vimUtils.buildVimPlugin { + name = "fzf-2018-11-14"; + src = pkgs.fetchgit { + url = https://github.com/junegunn/fzf.vim; + rev = "ad1833ecbc9153b6e34a4292dc089a58c4bcb8dc"; + sha256 = "1z2q71q6l9hq9fqfqpj1svhyk4yk1bzw1ljhksx4bnpz8gkfbx2m"; + }; +} -- cgit v1.2.3