diff options
author | lassulus <lass@aidsballs.de> | 2016-02-27 17:28:46 +0100 |
---|---|---|
committer | lassulus <lass@aidsballs.de> | 2016-02-27 17:28:46 +0100 |
commit | c6aefdc05e92e1fad4e9668568ec6967fc6c5fa3 (patch) | |
tree | e59340b58cf00b63168195a000d30481627f4e93 /tv/2configs/vim.nix | |
parent | 8b612222cbfc279f9076f0e9c4d7c3ebd2110910 (diff) | |
parent | 97447915baf00f502e46d9842d9ca75682adb33e (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 b0c26e5..6e20594 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"; |