summaryrefslogtreecommitdiff
path: root/runtime/syntax
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2010-07-18 14:34:51 +0200
committerBram Moolenaar <Bram@vim.org>2010-07-18 14:34:51 +0200
commit9855d6b3610b3ae46a5522b9f8e1e4b521759e83 (patch)
tree0cd833cb1292e135cdd89e8e84d74bb3f8b3a380 /runtime/syntax
parent5074e3018bca1527bbb5b54f33be1d701e197c5b (diff)
downloadvim-git-9855d6b3610b3ae46a5522b9f8e1e4b521759e83.tar.gz
Better conceal in help. (partly by Dominique Pelle)
Diffstat (limited to 'runtime/syntax')
-rw-r--r--runtime/syntax/help.vim3
1 files changed, 1 insertions, 2 deletions
diff --git a/runtime/syntax/help.vim b/runtime/syntax/help.vim
index 44605ef51..ce2d82fdd 100644
--- a/runtime/syntax/help.vim
+++ b/runtime/syntax/help.vim
@@ -11,7 +11,7 @@ endif
syn match helpHeadline "^[-A-Z .][-A-Z0-9 .()]*[ \t]\+\*"me=e-1
syn match helpSectionDelim "^=\{3,}.*===$"
syn match helpSectionDelim "^-\{3,}.*--$"
-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
@@ -132,7 +132,6 @@ syn sync minlines=40
" Define the default highlighting.
" Only used when an item doesn't have highlighting yet
-hi def link helpExampleStart helpIgnore
hi def link helpIgnore Ignore
hi def link helpHyperTextJump Subtitle
hi def link helpBar Ignore