diff options
author | Shougo Matsushita <Shougo.Matsu@gmail.com> | 2016-10-04 23:26:07 +0900 |
---|---|---|
committer | Shougo Matsushita <Shougo.Matsu@gmail.com> | 2016-10-04 23:33:28 +0900 |
commit | d4f32d078970db17305966655ca1cfda038c9b8e (patch) | |
tree | 757b7a33f2f51c4c1a22a02695c0a3befd523945 /runtime/syntax/help.vim | |
parent | 31a29e41b0aad1c41f05754c2fff4b083cc875e9 (diff) | |
download | rneovim-d4f32d078970db17305966655ca1cfda038c9b8e.tar.gz rneovim-d4f32d078970db17305966655ca1cfda038c9b8e.tar.bz2 rneovim-d4f32d078970db17305966655ca1cfda038c9b8e.zip |
vim-patch:939a1ab
Updated runtime files.
https://github.com/vim/vim/commit/939a1abe935a539f2d4c90a56cb0682cbaf3bbb0
Diffstat (limited to 'runtime/syntax/help.vim')
-rw-r--r-- | runtime/syntax/help.vim | 3 |
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") |