comparison runtime/syntax/vim.vim @ 18615:c4cdc715cb68

Update runtime files Commit: https://github.com/vim/vim/commit/574ee7bc1246070dba598f9561a2776aa1a10d07 Author: Bram Moolenaar <Bram@vim.org> Date: Wed Nov 13 23:04:29 2019 +0100 Update runtime files
author Bram Moolenaar <Bram@vim.org>
date Wed, 13 Nov 2019 23:15:04 +0100
parents e9a47bcf7b94
children 82a28df1e2d5
comparison
equal deleted inserted replaced
18614:aa72fe337d7a 18615:c4cdc715cb68
1 " Vim syntax file 1 " Vim syntax file
2 " Language: Vim 8.0 script 2 " Language: Vim 8.0 script
3 " Maintainer: Charles E. Campbell <NdrOchipS@PcampbellAfamily.Mbiz> 3 " Maintainer: Charles E. Campbell <NdrOchipS@PcampbellAfamily.Mbiz>
4 " Last Change: October 31, 2019 4 " Last Change: Nov 10, 2019
5 " Version: 8.0-27 5 " Version: 8.0-27
6 " URL: http://www.drchip.org/astronaut/vim/index.html#SYNTAX_VIM 6 " URL: http://www.drchip.org/astronaut/vim/index.html#SYNTAX_VIM
7 " Automatically generated keyword lists: {{{1 7 " Automatically generated keyword lists: {{{1
8 8
9 " Quit when a syntax file was already loaded {{{2 9 " Quit when a syntax file was already loaded {{{2
234 endif 234 endif
235 235
236 " Functions : Tag is provided for those who wish to highlight tagged functions {{{2 236 " Functions : Tag is provided for those who wish to highlight tagged functions {{{2
237 " ========= 237 " =========
238 syn cluster vimFuncList contains=vimCommand,vimFunctionError,vimFuncKey,Tag,vimFuncSID 238 syn cluster vimFuncList contains=vimCommand,vimFunctionError,vimFuncKey,Tag,vimFuncSID
239 syn cluster vimFuncBodyList contains=vimAbb,vimAddress,vimAugroupKey,vimAutoCmd,vimCmplxRepeat,vimComment,vimContinue,vimCtrlChar,vimEcho,vimEchoHL,vimExecute,vimIsCommand,vimFBVar,vimFunc,vimFunction,vimFuncVar,vimGlobal,vimHighlight,vimIsCommand,vimLet,vimLineComment,vimMap,vimMark,vimNorm,vimNotation,vimNotFunc,vimNumber,vimOper,vimOperParen,vimRegion,vimRegister,vimSearch,vimSet,vimSpecFile,vimString,vimSubst,vimSynLine,vimUnmap,vimUserCommand 239 syn cluster vimFuncBodyList contains=vimAbb,vimAddress,vimAugroupKey,vimAutoCmd,vimCmplxRepeat,vimComment,vimContinue,vimCtrlChar,vimEcho,vimEchoHL,vimExecute,vimIsCommand,vimFBVar,vimFunc,vimFunction,vimFuncVar,vimGlobal,vimHighlight,vimIsCommand,vimLet,vimLetHereDoc,vimLineComment,vimMap,vimMark,vimNorm,vimNotation,vimNotFunc,vimNumber,vimOper,vimOperParen,vimRegion,vimRegister,vimSearch,vimSet,vimSpecFile,vimString,vimSubst,vimSynLine,vimUnmap,vimUserCommand
240 syn match vimFunction "\<fu\%[nction]!\=\s\+\%(<[sS][iI][dD]>\|[sSgGbBwWtTlL]:\)\=\%(\i\|[#.]\|{.\{-1,}}\)*\ze\s*(" contains=@vimFuncList nextgroup=vimFuncBody 240 syn match vimFunction "\<fu\%[nction]!\=\s\+\%(<[sS][iI][dD]>\|[sSgGbBwWtTlL]:\)\=\%(\i\|[#.]\|{.\{-1,}}\)*\ze\s*(" contains=@vimFuncList nextgroup=vimFuncBody
241 241
242 if exists("g:vimsyn_folding") && g:vimsyn_folding =~# 'f' 242 if exists("g:vimsyn_folding") && g:vimsyn_folding =~# 'f'
243 syn region vimFuncBody contained fold start="\ze\s*(" matchgroup=vimCommand end="\<\(endf\>\|endfu\%[nction]\>\)" contains=@vimFuncBodyList 243 syn region vimFuncBody contained fold start="\ze\s*(" matchgroup=vimCommand end="\<\(endf\>\|endfu\%[nction]\>\)" contains=@vimFuncBodyList
244 else 244 else
377 syn match vimSetMod contained "&vim\=\|[!&?<]\|all&" 377 syn match vimSetMod contained "&vim\=\|[!&?<]\|all&"
378 378
379 " Let: {{{2 379 " Let: {{{2
380 " === 380 " ===
381 syn keyword vimLet let unl[et] skipwhite nextgroup=vimVar,vimFuncVar,vimLetHereDoc 381 syn keyword vimLet let unl[et] skipwhite nextgroup=vimVar,vimFuncVar,vimLetHereDoc
382 VimFoldh syn region vimLetHereDoc matchgroup=vimLetHereDocStart start='=<<\s\+\%(trim\>\)\=\s*\z([^a-z]\S*\)' matchgroup=vimLetHereDocStop end='^\s*\z1\s*$' contains=vimComment 382 VimFoldh syn region vimLetHereDoc matchgroup=vimLetHereDocStart start='=<<\s\+\%(trim\>\)\=\s*\z(\L\S*\)' matchgroup=vimLetHereDocStop end='^\s*\z1\s*$' contains=vimComment
383 syn cluster vimFuncBodyList add=vimLetHereDoc
384 383
385 " Abbreviations: {{{2 384 " Abbreviations: {{{2
386 " ============= 385 " =============
387 syn keyword vimAbb ab[breviate] ca[bbrev] inorea[bbrev] cnorea[bbrev] norea[bbrev] ia[bbrev] skipwhite nextgroup=vimMapMod,vimMapLhs 386 syn keyword vimAbb ab[breviate] ca[bbrev] inorea[bbrev] cnorea[bbrev] norea[bbrev] ia[bbrev] skipwhite nextgroup=vimMapMod,vimMapLhs
388 387