summaryrefslogtreecommitdiffstats
path: root/tv
diff options
context:
space:
mode:
authortv <tv@krebsco.de>2017-08-01 20:13:30 +0200
committertv <tv@krebsco.de>2017-08-01 20:13:30 +0200
commit5aad878c525c16e98922858bbc85eade10365526 (patch)
tree3b82495958e8bc2195f84829485e328a470c8744 /tv
parent06d2c2d773559c0c059768e1ab8a350ae2a82c0e (diff)
tv vim: relaxt sh.extraStart for variable names
Diffstat (limited to 'tv')
-rw-r--r--tv/2configs/vim.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/tv/2configs/vim.nix b/tv/2configs/vim.nix
index 85283238d..ca4718646 100644
--- a/tv/2configs/vim.nix
+++ b/tv/2configs/vim.nix
@@ -229,7 +229,7 @@ let {
lua = {};
sed.extraStart = ''writeSed[^ \t\r\n]*[ \t\r\n]*"[^"]*"'';
sh.extraStart = concatStringsSep ''\|'' [
- ''write\(Ba\|Da\)sh[^ \t\r\n]*[ \t\r\n]*"[^"]*"''
+ ''write\(Ba\|Da\)sh[^ \t\r\n]*[ \t\r\n]*\("[^"]*"\|[a-z]\+\)''
''[a-z]*Phase[ \t\r\n]*=''
];
yaml = {};