---
Hello,

Resending this patch.

It conceals the "<" and ">" markers in the help syntax. Useful
for terminal emulators with pseudo transparency like urxvt. It
supports Vim without the conceal feature.

Regards
Simon

 runtime/syntax/help.vim | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/runtime/syntax/help.vim b/runtime/syntax/help.vim
index ee5563e..1ebef74 100644
--- a/runtime/syntax/help.vim
+++ b/runtime/syntax/help.vim
@@ -14,7 +14,11 @@ set cpo&vim
 syn match helpHeadline         "^[-A-Z .][-A-Z0-9 .()]*[ \t]\+\*"me=e-1
 syn match helpSectionDelim     "^===.*===$"
 syn match helpSectionDelim     "^---.*--$"
-syn region helpExample         matchgroup=helpIgnore start=" >$" start="^>$" 
end="^[^ \t]"me=e-1 end="^<"
+if has("conceal")
+  syn region helpExample       matchgroup=helpIgnore start=" >$" start="^>$" 
end="^[^ \t]"me=e-1 end="^<" concealends
+else
+  syn region helpExample       matchgroup=helpIgnore start=" >$" start="^>$" 
end="^[^ \t]"me=e-1 end="^<"
+endif
 if has("ebcdic")
   syn match helpHyperTextJump  "\\\@<!|[^"*|]\+|" contains=helpBar
   syn match helpHyperTextEntry "\*[^"*|]\+\*\s"he=e-1 contains=helpStar
-- 
1.8.3.2

-- 
+ privacy is necessary
+ using gnupg http://gnupg.org
+ public key id: 0x92FEFDB7E44C32F9

Attachment: signature.asc
Description: Digital signature

Raspunde prin e-mail lui