summaryrefslogtreecommitdiffstats
path: root/tv/2configs/vim.nix
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
commit54bbd21d021d7eb26980d4fa18ad1008de91a490 (patch)
treeb1ffbd3b1f9c946a3ad3cbc091e3a127b290f4ea /tv/2configs/vim.nix
parentc46fde89930b87bc80369635960b21de501853a9 (diff)
parent9651d853d83468d39d1476eebc8ab6a61d69c4a0 (diff)
Merge remote-tracking branch 'cd/master'
Diffstat (limited to 'tv/2configs/vim.nix')
-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 8504533..f77b181 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\)"'';
})}