On Sat, Oct 06, 2012 at 05:25:33AM -0700, ZyX wrote: > Invisible means that ctermfg is equal to ctermbg. If it does > not work, specify both ctermbg in Normal group explicitly and > ctermfg in Ignore group.
Not if you use e.g. urxvt with its "fake" transparency. > It won't definitely be included in the current state. See the > place where "helpIgnore" is defined for example, it is 5-line > definition *compatible with vim versions compiled without > +conceal*. Revised patch attached. Regards, Simon -- + privacy is necessary + using gnupg http://gnupg.org + public key id: 0x92FEFDB7E44C32F9
From e52de3453ce1d8aa2ccfe8d5a0d4b787e3e5c907 Mon Sep 17 00:00:00 2001 Message-Id: <e52de3453ce1d8aa2ccfe8d5a0d4b787e3e5c907.1349529235.git.si...@ruderich.org> From: Simon Ruderich <[email protected]> Date: Sat, 6 Oct 2012 15:12:33 +0200 Subject: [PATCH] syntax/help.vim: Use concealends for helpExample to conceal > markers. --- 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 af97543..956f317 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.7.12.2
pgp9PmXAL47gm.pgp
Description: PGP signature
