From be42a7069de8a328a6363282151ea21050745910 Mon Sep 17 00:00:00 2001 From: tv Date: Tue, 21 May 2019 21:53:17 +0200 Subject: tv vim: move file-line to overlay --- tv/2configs/vim.nix | 9 +-------- tv/5pkgs/vim/file-line.nix | 10 ++++++++++ 2 files changed, 11 insertions(+), 8 deletions(-) create mode 100644 tv/5pkgs/vim/file-line.nix diff --git a/tv/2configs/vim.nix b/tv/2configs/vim.nix index 234602aa4..657d7a6a6 100644 --- a/tv/2configs/vim.nix +++ b/tv/2configs/vim.nix @@ -15,18 +15,11 @@ let { extra-runtimepath = concatMapStringsSep "," (pkg: "${pkg.rtp}") [ pkgs.tv.vimPlugins.elixir + pkgs.tv.vimPlugins.file-line pkgs.tv.vimPlugins.fzf pkgs.tv.vimPlugins.jq pkgs.vimPlugins.fzfWrapper pkgs.vimPlugins.undotree - (pkgs.vimUtils.buildVimPlugin { - name = "file-line-1.0"; - src = pkgs.fetchgit { - url = git://github.com/bogado/file-line; - rev = "refs/tags/1.0"; - sha256 = "0z47zq9rqh06ny0q8lpcdsraf3lyzn9xvb59nywnarf3nxrk6hx0"; - }; - }) ((rtp: rtp // { inherit rtp; }) (pkgs.writeTextFile (let name = "hack"; in { diff --git a/tv/5pkgs/vim/file-line.nix b/tv/5pkgs/vim/file-line.nix new file mode 100644 index 000000000..22597265a --- /dev/null +++ b/tv/5pkgs/vim/file-line.nix @@ -0,0 +1,10 @@ +{ pkgs }: + +pkgs.vimUtils.buildVimPlugin { + name = "file-line-1.0"; + src = pkgs.fetchgit { + url = git://github.com/bogado/file-line; + rev = "refs/tags/1.0"; + sha256 = "0z47zq9rqh06ny0q8lpcdsraf3lyzn9xvb59nywnarf3nxrk6hx0"; + }; +} -- cgit v1.2.3