comparison runtime/syntax/help.vim @ 8869:b73f9ed65072

commit https://github.com/vim/vim/commit/939a1abe935a539f2d4c90a56cb0682cbaf3bbb0 Author: Bram Moolenaar <Bram@vim.org> Date: Sun Apr 10 01:31:25 2016 +0200 Updated runtime files.
author Christian Brabandt <cb@256bit.org>
date Sun, 10 Apr 2016 01:45:05 +0200
parents 80e5f9584b02
children b11ceef7116e
comparison
equal deleted inserted replaced
8868:0fcc63fd49e6 8869:b73f9ed65072
1 " Vim syntax file 1 " Vim syntax file
2 " Language: Vim help file 2 " Language: Vim help file
3 " Maintainer: Bram Moolenaar (Bram@vim.org) 3 " Maintainer: Bram Moolenaar (Bram@vim.org)
4 " Last Change: 2014 Feb 12 4 " Last Change: 2016 Apr 01
5 5
6 " Quit when a (custom) syntax file was already loaded 6 " Quit when a (custom) syntax file was already loaded
7 if exists("b:current_syntax") 7 if exists("b:current_syntax")
8 finish 8 finish
9 endif 9 endif
43 syn match helpVim "\<Vim version [0-9][0-9.a-z]*" 43 syn match helpVim "\<Vim version [0-9][0-9.a-z]*"
44 syn match helpVim "VIM REFERENCE.*" 44 syn match helpVim "VIM REFERENCE.*"
45 syn match helpOption "'[a-z]\{2,\}'" 45 syn match helpOption "'[a-z]\{2,\}'"
46 syn match helpOption "'t_..'" 46 syn match helpOption "'t_..'"
47 syn match helpCommand "`[^` \t]\+`"hs=s+1,he=e-1 contains=helpBacktick 47 syn match helpCommand "`[^` \t]\+`"hs=s+1,he=e-1 contains=helpBacktick
48 syn match helpCommand "\(^\|[^a-z"[]\)\zs`[^`]\+`\ze\([^a-z\t."']\|$\)"hs=s+1,he=e-1 contains=helpBacktick
48 syn match helpHeader "\s*\zs.\{-}\ze\s\=\~$" nextgroup=helpIgnore 49 syn match helpHeader "\s*\zs.\{-}\ze\s\=\~$" nextgroup=helpIgnore
49 syn match helpGraphic ".* \ze`$" nextgroup=helpIgnore 50 syn match helpGraphic ".* \ze`$" nextgroup=helpIgnore
50 if has("conceal") 51 if has("conceal")
51 syn match helpIgnore "." contained conceal 52 syn match helpIgnore "." contained conceal
52 else 53 else