Hello,

By default the > markers of helpExample are not concealed which
causes them to be visible e.g. in transparent terminals because
the Ignore highlight group can't AFAIK make foreground text
invisible (ctermfg=NONE doesn't work for me).

The following patch adds concealends to hide them (thanks to
graywh in #vim for the idea).

Regards,
Simon
---

 runtime/syntax/help.vim |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/runtime/syntax/help.vim b/runtime/syntax/help.vim
index af97543..8641d71 100644
--- a/runtime/syntax/help.vim
+++ b/runtime/syntax/help.vim
@@ -14,7 +14,7 @@ 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="^<"
+syn region helpExample         matchgroup=helpIgnore start=" >$" start="^>$" 
end="^[^ \t]"me=e-1 end="^<" concealends
 if has("ebcdic")
   syn match helpHyperTextJump  "\\\@<!|[^"*|]\+|" contains=helpBar
   syn match helpHyperTextEntry "\*[^"*|]\+\*\s"he=e-1 contains=helpStar
-- 
1.7.7.3

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

Attachment: pgpPkHbM4vkMG.pgp
Description: PGP signature

Raspunde prin e-mail lui