aboutsummaryrefslogtreecommitdiff
path: root/runtime/syntax/help.vim
diff options
context:
space:
mode:
authorJustin M. Keyes <justinkz@gmail.com>2016-10-08 17:07:20 +0200
committerJustin M. Keyes <justinkz@gmail.com>2016-10-08 17:17:43 +0200
commit19840728228f66c7f2af88dfc4bcecc26ffa064b (patch)
tree1b86d1d337ec9a97908d4b8bf3d48f4c439e54a6 /runtime/syntax/help.vim
parent31f6334aa8f8093ddfd2fd3ecf9fc438ad62a792 (diff)
parent7bc86b2bbc6800bc47a981ce86c906259020aa70 (diff)
downloadrneovim-19840728228f66c7f2af88dfc4bcecc26ffa064b.tar.gz
rneovim-19840728228f66c7f2af88dfc4bcecc26ffa064b.tar.bz2
rneovim-19840728228f66c7f2af88dfc4bcecc26ffa064b.zip
Merge #5428 'vim-patch: 0c1ff16, 939a1ab, 8067a64'.
Diffstat (limited to 'runtime/syntax/help.vim')
-rw-r--r--runtime/syntax/help.vim3
1 files changed, 2 insertions, 1 deletions
diff --git a/runtime/syntax/help.vim b/runtime/syntax/help.vim
index d133c6a804..b3c7f2a63e 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: 2014 Feb 12
+" Last Change: 2016 Apr 01
" Quit when a (custom) syntax file was already loaded
if exists("b:current_syntax")
@@ -41,6 +41,7 @@ syn match helpVim "NVIM REFERENCE.*"
syn match helpOption "'[a-z]\{2,\}'"
syn match helpOption "'t_..'"
syn match helpCommand "`[^` \t]\+`"hs=s+1,he=e-1 contains=helpBacktick
+syn match helpCommand "\(^\|[^a-z"[]\)\zs`[^`]\+`\ze\([^a-z\t."']\|$\)"hs=s+1,he=e-1 contains=helpBacktick
syn match helpHeader "\s*\zs.\{-}\ze\s\=\~$" nextgroup=helpIgnore
syn match helpGraphic ".* \ze`$" nextgroup=helpIgnore
if has("conceal")