diff options
author | makefu <github@syntax-fehler.de> | 2016-02-28 02:26:44 +0100 |
---|---|---|
committer | makefu <github@syntax-fehler.de> | 2016-02-28 02:26:44 +0100 |
commit | db72d5911f1556d3b1cfbe8f1a2d8f6765728952 (patch) | |
tree | ab12aafd2994c265cd4fd604e554b2e8db2da021 /tv/2configs/vim.nix | |
parent | 64a1dc64a3a7daf57e1ebc677e35c4dc89d9c36b (diff) | |
parent | 8c859335a879c515a1415bc8b15b5cb7eb519efc (diff) |
Merge remote-tracking branch 'cd/master'
Diffstat (limited to 'tv/2configs/vim.nix')
-rw-r--r-- | tv/2configs/vim.nix | 14 |
1 files changed, 5 insertions, 9 deletions
diff --git a/tv/2configs/vim.nix b/tv/2configs/vim.nix index b0c26e50e..6e2059484 100644 --- a/tv/2configs/vim.nix +++ b/tv/2configs/vim.nix @@ -13,21 +13,17 @@ let environment.variables.VIMINIT = ":so /etc/vimrc"; }; - extra-runtimepath = let - inherit (pkgs.vimUtils) buildVimPlugin rtpPath; - fromVimPlugins = pkgs: concatStringsSep "," - (mapAttrsToList (name: pkg: "${pkg}/${rtpPath}/${name}") pkgs); - in fromVimPlugins { - inherit (pkgs.vimPlugins) undotree; - file-line = buildVimPlugin { + extra-runtimepath = concatMapStringsSep "," (pkg: "${pkg.rtp}") [ + 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"; }; - }; - }; + }) + ]; dirs = { backupdir = "$HOME/.cache/vim/backup"; |