summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authortv <tv@krebsco.de>2016-06-15 13:38:14 +0200
committertv <tv@krebsco.de>2016-06-15 13:38:14 +0200
commita8ddc3b6e2c57b588cbc03ec878a1d3c94f80ca6 (patch)
tree0116c6413cf6dc0c8653cea432b4ddcbab993e3a
parent88a486f26af3f804cb56852b03134b352f8141f9 (diff)
tv nix.vim: [a-z]*Phase is sh
-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\)"'';
})}