[SCM] Vim packaging branch, deb/runtime, updated. upstream/7.2b.001-94-ga0d8d9e
James Vega
jamessan at debian.org
Thu Jul 17 15:21:36 UTC 2008
The following commit has been merged in the deb/runtime branch:
commit a0d8d9e977411b8d1ef345d05379b3517bd59380
Author: James Vega <jamessan at debian.org>
Date: Thu Jul 17 11:18:39 2008 -0400
Fix highlighting of zsh's "here-string" redirection. Closes: #482373
Signed-off-by: James Vega <jamessan at debian.org>
diff --git a/runtime/syntax/zsh.vim b/runtime/syntax/zsh.vim
index eb19eba..e679b21 100644
--- a/runtime/syntax/zsh.vim
+++ b/runtime/syntax/zsh.vim
@@ -49,12 +49,12 @@ syn match zshRedir '\d\=\(<\|<>\|<<<\|<&\s*[0-9p-]\=\)'
syn match zshRedir '\d\=\(>\|>>\|>&\s*[0-9p-]\=\|&>\|>>&\|&>>\)[|!]\='
syn match zshRedir '|&\='
-syn region zshHereDoc matchgroup=zshRedir start='<<\s*\z(\S*\)'
+syn region zshHereDoc matchgroup=zshRedir start='<\@<!<<<\@!\s*\z(\S*\)'
\ end='^\z1\>' contains=@zshSubst
syn region zshHereDoc matchgroup=zshRedir start='<<-\s*\z(\S*\)'
\ end='^\s*\z1\>' contains=@zshSubst
syn region zshHereDoc matchgroup=zshRedir
- \ start=+<<\s*\(["']\)\z(\S*\)\1+ end='^\z1\>'
+ \ start=+<\@<!<<<\@!\s*\(["']\)\z(\S*\)\1+ end='^\z1\>'
syn region zshHereDoc matchgroup=zshRedir
\ start=+<<-\s*\(["']\)\z(\S*\)\1+
\ end='^\s*\z1\>'
--
Vim packaging
More information about the pkg-vim-maintainers
mailing list