runtime(vim): Update syntax file (#13906)
Highlight :2match and :3match and add these to :help ex-cmd-index. Signed-off-by: Doug Kearns <dougkearns@gmail.com> Signed-off-by: Christian Brabandt <cb@256bit.org>
This commit is contained in:
@ -10,6 +10,7 @@
|
||||
" 2023 Dec 30 by Vim Project (:syntax improvements)
|
||||
" 2024 Jan 14 by Vim Project (TermResponseAll autocommand)
|
||||
" 2024 Jan 15 by Vim Project (:hi ctermfont attribute)
|
||||
" 2024 Jan 23 by Vim Project (add :[23]match commands)
|
||||
" Version: 9.0-25
|
||||
" URL: http://www.drchip.org/astronaut/vim/index.html#SYNTAX_VIM
|
||||
" Automatically generated keyword lists: {{{1
|
||||
@ -95,6 +96,9 @@ syn keyword vimFuncName contained append asin assert_false assert_report autocmd
|
||||
syn keyword vimFuncName contained appendbufline assert_beeps assert_inrange assert_true balloon_gettext bufadd bufnr call charidx ch_evalraw ch_open ch_setoptions complete_add cosh delete digraph_getlist escape exists extend finddir fmod foldtext garbagecollect getcellwidths getcharstr getcmdwintype getfontname getjumplist getmouseshape getregtype gettext glob hasmapto hlget index inputsave isdirectory job_info js_decode len list2blob log maplist matcharg matchstr mode perleval popup_dialog popup_getoptions
|
||||
|
||||
"--- syntax here and above generated by mkvimvim ---
|
||||
|
||||
syn keyword vimCommand contained 2mat[ch] 3mat[ch]
|
||||
|
||||
" Special Vim Highlighting (not automatic) {{{1
|
||||
|
||||
" Set up folding commands for this syntax highlighting file {{{2
|
||||
@ -189,7 +193,7 @@ syn match vimNumber '0[bB][01]\+' skipwhite nextgroup=vimGlobal,vimSubst
|
||||
|
||||
" All vimCommands are contained by vimIsCommand. {{{2
|
||||
syn match vimCmdSep "[:|]\+" skipwhite nextgroup=vimAbb,vimAddress,vimAutoCmd,vimAugroup,vimBehave,vimEcho,vimEchoHL,vimExecute,vimIsCommand,vimExtCmd,vimFilter,vimGlobal,vimHighlight,vimLet,vimMap,vimMark,vimNorm,vimSet,vimSyntax,vimUnlet,vimUnmap,vimUserCmd
|
||||
syn match vimIsCommand "\<\h\w*\>" contains=vimCommand
|
||||
syn match vimIsCommand "\<\%(\h\w*\|[23]mat\%[ch]\)\>" contains=vimCommand
|
||||
syn match vimVar contained "\<\h[a-zA-Z0-9#_]*\>"
|
||||
syn match vimVar "\<[bwglstav]:\h[a-zA-Z0-9#_]*\>"
|
||||
syn match vimVar "\s\zs&\%([lg]:\)\=\a\+\>"
|
||||
|
||||
Reference in New Issue
Block a user