diff options
author | makefu <github@syntax-fehler.de> | 2017-03-08 14:20:38 +0100 |
---|---|---|
committer | makefu <github@syntax-fehler.de> | 2017-03-08 14:20:38 +0100 |
commit | 8ad08b30961ba5515f88e81dc47f7d5013f92970 (patch) | |
tree | 94919cec986021c5c59ff5b222089cc06565b1f8 /lass/2configs/vim.nix | |
parent | 3a3a436b49d555c57079f806f33908ac2430099b (diff) | |
parent | 3374fe9566a366451ea59f325ecb1e2da7046322 (diff) |
Merge remote-tracking branch 'lass/master'
Diffstat (limited to 'lass/2configs/vim.nix')
-rw-r--r-- | lass/2configs/vim.nix | 13 |
1 files changed, 8 insertions, 5 deletions
diff --git a/lass/2configs/vim.nix b/lass/2configs/vim.nix index 4e0af0dc7..e6cf8d101 100644 --- a/lass/2configs/vim.nix +++ b/lass/2configs/vim.nix @@ -207,11 +207,14 @@ let alldirs = attrValues dirs ++ map dirOf (attrValues files); in unique (sort lessThan alldirs); - vim = pkgs.writeDashBin "vim" '' - set -efu - (umask 0077; exec ${pkgs.coreutils}/bin/mkdir -p ${toString mkdirs}) - exec ${pkgs.vim}/bin/vim "$@" - ''; + vim = pkgs.concat "vim" [ + pkgs.vim + (pkgs.writeDashBin "vim" '' + set -efu + (umask 0077; exec ${pkgs.coreutils}/bin/mkdir -p ${toString mkdirs}) + exec ${pkgs.vim}/bin/vim "$@" + '') + ]; hs.vim = pkgs.writeText "hs.vim" '' syn region String start=+\[[[:alnum:]]*|+ end=+|]+ |