summaryrefslogtreecommitdiff
path: root/runtime/syntax/help.vim
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2012-04-25 19:07:41 +0200
committerBram Moolenaar <Bram@vim.org>2012-04-25 19:07:41 +0200
commitd38b055ab81f194d50790b21c627beed62983d46 (patch)
treefdb2929bf26b347a67e07868234c7c32e44f2405 /runtime/syntax/help.vim
parent7f51a82c1b340c0442690ab2d4408d74c97d696a (diff)
downloadvim-git-d38b055ab81f194d50790b21c627beed62983d46.tar.gz
Updated runtime files.
Diffstat (limited to 'runtime/syntax/help.vim')
-rw-r--r--runtime/syntax/help.vim4
1 files changed, 3 insertions, 1 deletions
diff --git a/runtime/syntax/help.vim b/runtime/syntax/help.vim
index 6bd8dd09b..ddaad8962 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: 2012 Jan 08
+" Last Change: 2012 Apr 25
" Quit when a (custom) syntax file was already loaded
if exists("b:current_syntax")
@@ -38,6 +38,7 @@ syn match helpVim "Vim version [0-9.a-z]\+"
syn match helpVim "VIM REFERENCE.*"
syn match helpOption "'[a-z]\{2,\}'"
syn match helpOption "'t_..'"
+syn match helpCommand "`[^` ]*`"hs=s+1,he=e-1
syn match helpHeader "\s*\zs.\{-}\ze\s\=\~$" nextgroup=helpIgnore
syn match helpGraphic ".* \ze`$" nextgroup=helpIgnore
if has("conceal")
@@ -155,6 +156,7 @@ hi def link helpHeadline Statement
hi def link helpHeader PreProc
hi def link helpSectionDelim PreProc
hi def link helpVim Identifier
+hi def link helpCommand Comment
hi def link helpExample Comment
hi def link helpOption Type
hi def link helpNotVi Special