comparison runtime/syntax/vim.vim @ 10734:523cd59d6db0

Update runtime files. commit https://github.com/vim/vim/commit/690afe1fef87e7eef6fb7343a926617d5f7315fa Author: Bram Moolenaar <Bram@vim.org> Date: Sat Jan 28 18:34:47 2017 +0100 Update runtime files.
author Christian Brabandt <cb@256bit.org>
date Sat, 28 Jan 2017 18:45:05 +0100
parents d75e2380db0e
children 8d76a56861ec
comparison
equal deleted inserted replaced
10733:7a5df0f9635f 10734:523cd59d6db0
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: September 29, 2016 4 " Last Change: Jan 19, 2017
5 " Version: 8.0-01 5 " Version: 8.0-02
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
10 if exists("b:current_syntax") 10 if exists("b:current_syntax")
162 " Numbers {{{2 162 " Numbers {{{2
163 " ======= 163 " =======
164 syn match vimNumber "\<\d\+\%(\.\d\+\%([eE][+-]\=\d\+\)\=\)\=" skipwhite nextgroup=vimGlobal,vimSubst,vimCommand 164 syn match vimNumber "\<\d\+\%(\.\d\+\%([eE][+-]\=\d\+\)\=\)\=" skipwhite nextgroup=vimGlobal,vimSubst,vimCommand
165 syn match vimNumber "-\d\+\%(\.\d\+\%([eE][+-]\=\d\+\)\=\)\=" skipwhite nextgroup=vimGlobal,vimSubst,vimCommand 165 syn match vimNumber "-\d\+\%(\.\d\+\%([eE][+-]\=\d\+\)\=\)\=" skipwhite nextgroup=vimGlobal,vimSubst,vimCommand
166 syn match vimNumber "\<0[xX]\x\+" 166 syn match vimNumber "\<0[xX]\x\+"
167 syn match vimNumber "\<0[bB][01]\+"
167 syn match vimNumber "\%(^\|[^a-zA-Z]\)\zs#\x\{6}" 168 syn match vimNumber "\%(^\|[^a-zA-Z]\)\zs#\x\{6}"
168 169
169 " All vimCommands are contained by vimIsCommands. {{{2 170 " All vimCommands are contained by vimIsCommands. {{{2
170 syn match vimCmdSep "[:|]\+" skipwhite nextgroup=vimAddress,vimAutoCmd,vimIsCommand,vimExtCmd,vimFilter,vimLet,vimMap,vimMark,vimSet,vimSyntax,vimUserCmd 171 syn match vimCmdSep "[:|]\+" skipwhite nextgroup=vimAddress,vimAutoCmd,vimIsCommand,vimExtCmd,vimFilter,vimLet,vimMap,vimMark,vimSet,vimSyntax,vimUserCmd
171 syn match vimIsCommand "\<\h\w*\>" contains=vimCommand 172 syn match vimIsCommand "\<\h\w*\>" contains=vimCommand
223 endif 224 endif
224 225
225 " Functions : Tag is provided for those who wish to highlight tagged functions {{{2 226 " Functions : Tag is provided for those who wish to highlight tagged functions {{{2
226 " ========= 227 " =========
227 syn cluster vimFuncList contains=vimCommand,vimFunctionError,vimFuncKey,Tag,vimFuncSID 228 syn cluster vimFuncList contains=vimCommand,vimFunctionError,vimFuncKey,Tag,vimFuncSID
228 syn cluster vimFuncBodyList contains=vimAbb,vimAddress,vimAugroupKey,vimAutoCmd,vimCmplxRepeat,vimComment,vimComment,vimContinue,vimCtrlChar,vimEcho,vimEchoHL,vimExecute,vimIf,vimIsCommand,vimFBVar,vimFunc,vimFunction,vimFuncVar,vimGlobal,vimHighlight,vimIsCommand,vimLet,vimLineComment,vimMap,vimMark,vimNorm,vimNotation,vimNotFunc,vimNumber,vimOper,vimOperParen,vimRegion,vimRegister,vimSet,vimSpecFile,vimString,vimSubst,vimSynLine,vimUnmap,vimUserCommand 229 syn cluster vimFuncBodyList contains=vimAbb,vimAddress,vimAugroupKey,vimAutoCmd,vimCmplxRepeat,vimComment,vimContinue,vimCtrlChar,vimEcho,vimEchoHL,vimExecute,vimIf,vimIsCommand,vimFBVar,vimFunc,vimFunction,vimFuncVar,vimGlobal,vimHighlight,vimIsCommand,vimLet,vimLineComment,vimMap,vimMark,vimNorm,vimNotation,vimNotFunc,vimNumber,vimOper,vimOperParen,vimRegion,vimRegister,vimSet,vimSpecFile,vimString,vimSubst,vimSynLine,vimUnmap,vimUserCommand
229 syn match vimFunction "\<fu\%[nction]!\=\s\+\%(<[sS][iI][dD]>\|[sSgGbBwWtTlL]:\)\=\%(\i\|[#.]\|{.\{-1,}}\)*\ze\s*(" contains=@vimFuncList nextgroup=vimFuncBody 230 syn match vimFunction "\<fu\%[nction]!\=\s\+\%(<[sS][iI][dD]>\|[sSgGbBwWtTlL]:\)\=\%(\i\|[#.]\|{.\{-1,}}\)*\ze\s*(" contains=@vimFuncList nextgroup=vimFuncBody
230 231
231 if exists("g:vimsyn_folding") && g:vimsyn_folding =~# 'f' 232 if exists("g:vimsyn_folding") && g:vimsyn_folding =~# 'f'
232 syn region vimFuncBody contained fold start="\ze\s*(" matchgroup=vimCommand end="\<\(endf\>\|endfu\%[nction]\>\)" contains=@vimFuncBodyList 233 syn region vimFuncBody contained fold start="\ze\s*(" matchgroup=vimCommand end="\<\(endf\>\|endfu\%[nction]\>\)" contains=@vimFuncBodyList
233 else 234 else