summaryrefslogtreecommitdiff
path: root/runtime/syntax/help.vim
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2006-04-12 21:52:12 +0000
committerBram Moolenaar <Bram@vim.org>2006-04-12 21:52:12 +0000
commit18144c84231aee36ae1d11b74941c9b318f1706a (patch)
tree6b9cf7e0337cd5966089e795c9278a1a86f9d5c1 /runtime/syntax/help.vim
parent4c3f536f472c7443ed4f672ae6d35a28805d7641 (diff)
downloadvim-18144c84231aee36ae1d11b74941c9b318f1706a.zip
updated for version 7.0d02
Diffstat (limited to 'runtime/syntax/help.vim')
-rw-r--r--runtime/syntax/help.vim8
1 files changed, 5 insertions, 3 deletions
diff --git a/runtime/syntax/help.vim b/runtime/syntax/help.vim
index c511a58e4..5c2abe024 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 06
+" Last Change: 2006 Apr 12
" Quit when a (custom) syntax file was already loaded
if exists("b:current_syntax")
@@ -13,14 +13,15 @@ syn match helpSectionDelim "^=\{3,}.*===$"
syn match helpSectionDelim "^-\{3,}.*--$"
syn region helpExample matchgroup=helpIgnore start=" >$" start="^>$" end="^[^ \t]"me=e-1 end="^<"
if has("ebcdic")
- syn match helpHyperTextJump "\\\@<!|[^"*|]\+|"
+ syn match helpHyperTextJump "\\\@<!|[^"*|]\+|" contains=helpBar
syn match helpHyperTextEntry "\*[^"*|]\+\*\s"he=e-1
syn match helpHyperTextEntry "\*[^"*|]\+\*$"
else
- syn match helpHyperTextJump "\\\@<!|[#-)!+-~]\+|"
+ syn match helpHyperTextJump "\\\@<!|[#-)!+-~]\+|" contains=helpBar
syn match helpHyperTextEntry "\*[#-)!+-~]\+\*\s"he=e-1
syn match helpHyperTextEntry "\*[#-)!+-~]\+\*$"
endif
+syn match helpBar contained "|"
syn match helpNormal "|.*====*|"
syn match helpNormal ":|vim:|" " for :help modeline
syn match helpVim "Vim version [0-9.a-z]\+"
@@ -122,6 +123,7 @@ syn sync minlines=40
hi def link helpExampleStart helpIgnore
hi def link helpIgnore Ignore
hi def link helpHyperTextJump Subtitle
+hi def link helpBar Ignore
hi def link helpHyperTextEntry String
hi def link helpHeadline Statement
hi def link helpHeader PreProc