summaryrefslogtreecommitdiffstats
path: root/tv/2configs
diff options
context:
space:
mode:
authorlassulus <lass@aidsballs.de>2016-06-23 23:18:06 +0200
committerlassulus <lass@aidsballs.de>2016-06-23 23:18:06 +0200
commit93567fa818da131f0e092d868b5d8a550629ad4f (patch)
treea7323f77fca0d668b8b21ef2ec1d9cbd350eb4f8 /tv/2configs
parent3e8a1cdebe200dd6de07f426403cc4716b838cbf (diff)
parent74f778c6e19c1403eff98e0b5cb68fdad77c2b13 (diff)
Merge remote-tracking branch 'cd/master'
Diffstat (limited to 'tv/2configs')
-rw-r--r--tv/2configs/vim.nix5
1 files changed, 4 insertions, 1 deletions
diff --git a/tv/2configs/vim.nix b/tv/2configs/vim.nix
index 85045332f..f77b18108 100644
--- a/tv/2configs/vim.nix
+++ b/tv/2configs/vim.nix
@@ -302,7 +302,10 @@ let
c = {};
cabal = {};
haskell = {};
- sh.extraStart = ''write\(Ba\|Da\)sh[^ \t\r\n]*[ \t\r\n]*"[^"]*"'';
+ sh.extraStart = concatStringsSep ''\|'' [
+ ''write\(Ba\|Da\)sh[^ \t\r\n]*[ \t\r\n]*"[^"]*"''
+ ''[a-z]*Phase[ \t\r\n]*=''
+ ];
vim.extraStart =
''write[^ \t\r\n]*[ \t\r\n]*"\(\([^"]*\.\)\?vimrc\|[^"]*\.vim\)"'';
})}