summaryrefslogtreecommitdiff
path: root/runtime/syntax/help.vim
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2006-04-13 20:37:35 +0000
committerBram Moolenaar <Bram@vim.org>2006-04-13 20:37:35 +0000
commit7fc904b610d5739dd7b72fb2f6b0e4b330c97179 (patch)
treea7ea75d0ab26a753f13949e25e08e2c875b37d69 /runtime/syntax/help.vim
parent18144c84231aee36ae1d11b74941c9b318f1706a (diff)
downloadvim-git-7fc904b610d5739dd7b72fb2f6b0e4b330c97179.tar.gz
updated for version 7.0d03v7.0d03
Diffstat (limited to 'runtime/syntax/help.vim')
-rw-r--r--runtime/syntax/help.vim12
1 files changed, 7 insertions, 5 deletions
diff --git a/runtime/syntax/help.vim b/runtime/syntax/help.vim
index 5c2abe024..32e223124 100644
--- a/runtime/syntax/help.vim
+++ b/runtime/syntax/help.vim
@@ -1,7 +1,7 @@
" Vim syntax file
" Language: Vim help file
" Maintainer: Bram Moolenaar (Bram@vim.org)
-" Last Change: 2006 Apr 12
+" Last Change: 2006 Apr 13
" Quit when a (custom) syntax file was already loaded
if exists("b:current_syntax")
@@ -14,14 +14,15 @@ syn match helpSectionDelim "^-\{3,}.*--$"
syn region helpExample matchgroup=helpIgnore start=" >$" start="^>$" end="^[^ \t]"me=e-1 end="^<"
if has("ebcdic")
syn match helpHyperTextJump "\\\@<!|[^"*|]\+|" contains=helpBar
- syn match helpHyperTextEntry "\*[^"*|]\+\*\s"he=e-1
- syn match helpHyperTextEntry "\*[^"*|]\+\*$"
+ syn match helpHyperTextEntry "\*[^"*|]\+\*\s"he=e-1 contains=helpStar
+ syn match helpHyperTextEntry "\*[^"*|]\+\*$" contains=helpStar
else
syn match helpHyperTextJump "\\\@<!|[#-)!+-~]\+|" contains=helpBar
- syn match helpHyperTextEntry "\*[#-)!+-~]\+\*\s"he=e-1
- syn match helpHyperTextEntry "\*[#-)!+-~]\+\*$"
+ syn match helpHyperTextEntry "\*[#-)!+-~]\+\*\s"he=e-1 contains=helpStar
+ syn match helpHyperTextEntry "\*[#-)!+-~]\+\*$" contains=helpStar
endif
syn match helpBar contained "|"
+syn match helpStar contained "\*"
syn match helpNormal "|.*====*|"
syn match helpNormal ":|vim:|" " for :help modeline
syn match helpVim "Vim version [0-9.a-z]\+"
@@ -124,6 +125,7 @@ hi def link helpExampleStart helpIgnore
hi def link helpIgnore Ignore
hi def link helpHyperTextJump Subtitle
hi def link helpBar Ignore
+hi def link helpStar Ignore
hi def link helpHyperTextEntry String
hi def link helpHeadline Statement
hi def link helpHeader PreProc