Mercurial > vim
comparison runtime/syntax/generator/vim.vim.base @ 34664:af61243e5aeb
runtime(vim): Update base-syntax, match empty blob and :abclear modifiers (#14318)
Commit: https://github.com/vim/vim/commit/982e191b38b493d148d73871a724381214e4c62f
Author: dkearns <dougkearns@gmail.com>
Date: Thu Mar 28 20:06:03 2024 +1100
runtime(vim): Update base-syntax, match empty blob and :abclear modifiers (https://github.com/vim/vim/issues/14318)
- Match empty blob literals.
- Match modifier arguments to :abclear commands.
Signed-off-by: Doug Kearns <dougkearns@gmail.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
author | Christian Brabandt <cb@256bit.org> |
---|---|
date | Thu, 28 Mar 2024 10:15:07 +0100 |
parents | 624afe810083 |
children | de9d4e6b03d0 |
comparison
equal
deleted
inserted
replaced
34663:b4b4abc26a9c | 34664:af61243e5aeb |
---|---|
1 " Vim syntax file | 1 " Vim syntax file |
2 " Language: Vim script | 2 " Language: Vim script |
3 " Maintainer: Hirohito Higashi <h.east.727 ATMARK gmail.com> | 3 " Maintainer: Hirohito Higashi <h.east.727 ATMARK gmail.com> |
4 " Doug Kearns <dougkearns@gmail.com> | 4 " Doug Kearns <dougkearns@gmail.com> |
5 " URL: https://github.com/vim-jp/syntax-vim-ex | 5 " URL: https://github.com/vim-jp/syntax-vim-ex |
6 " Last Change: 2024 Mar 22 | 6 " Last Change: 2024 Mar 28 |
7 " Former Maintainer: Charles E. Campbell | 7 " Former Maintainer: Charles E. Campbell |
8 " Base File URL: http://www.drchip.org/astronaut/vim/index.html#SYNTAX_VIM | |
9 " Base File Version: 9.0-25 | |
10 | 8 |
11 " DO NOT CHANGE DIRECTLY. | 9 " DO NOT CHANGE DIRECTLY. |
12 " THIS FILE PARTLY GENERATED BY gen_syntax_vim.vim. | 10 " THIS FILE PARTLY GENERATED BY gen_syntax_vim.vim. |
13 " (Search string "GEN_SYN_VIM:" in this file) | 11 " (Search string "GEN_SYN_VIM:" in this file) |
14 | 12 |
160 syn case ignore | 158 syn case ignore |
161 syn match vimNumber '\<\d\+\%(\.\d\+\%(e[+-]\=\d\+\)\=\)\=' skipwhite nextgroup=vimGlobal,vimSubst1,vimCommand,vimComment,vim9Comment | 159 syn match vimNumber '\<\d\+\%(\.\d\+\%(e[+-]\=\d\+\)\=\)\=' skipwhite nextgroup=vimGlobal,vimSubst1,vimCommand,vimComment,vim9Comment |
162 syn match vimNumber '\<0b[01]\+' skipwhite nextgroup=vimGlobal,vimSubst1,vimCommand,vimComment,vim9Comment | 160 syn match vimNumber '\<0b[01]\+' skipwhite nextgroup=vimGlobal,vimSubst1,vimCommand,vimComment,vim9Comment |
163 syn match vimNumber '\<0o\=\o\+' skipwhite nextgroup=vimGlobal,vimSubst1,vimCommand,vimComment,vim9Comment | 161 syn match vimNumber '\<0o\=\o\+' skipwhite nextgroup=vimGlobal,vimSubst1,vimCommand,vimComment,vim9Comment |
164 syn match vimNumber '\<0x\x\+' skipwhite nextgroup=vimGlobal,vimSubst1,vimCommand,vimComment,vim9Comment | 162 syn match vimNumber '\<0x\x\+' skipwhite nextgroup=vimGlobal,vimSubst1,vimCommand,vimComment,vim9Comment |
163 syn match vimNumber '\<0z\>' skipwhite nextgroup=vimGlobal,vimSubst1,vimCommand,vimComment,vim9Comment | |
165 syn match vimNumber '\<0z\%(\x\x\)\+\%(\.\%(\x\x\)\+\)*' skipwhite nextgroup=vimGlobal,vimSubst1,vimCommand,vimComment,vim9Comment | 164 syn match vimNumber '\<0z\%(\x\x\)\+\%(\.\%(\x\x\)\+\)*' skipwhite nextgroup=vimGlobal,vimSubst1,vimCommand,vimComment,vim9Comment |
166 syn match vimNumber '\%(^\|\A\)\zs#\x\{6}' skipwhite nextgroup=vimGlobal,vimSubst1,vimCommand,vimComment,vim9Comment | 165 syn match vimNumber '\%(^\|\A\)\zs#\x\{6}' skipwhite nextgroup=vimGlobal,vimSubst1,vimCommand,vimComment,vim9Comment |
167 syn case match | 166 syn case match |
168 | 167 |
169 " All vimCommands are contained by vimIsCommand. {{{2 | 168 " All vimCommands are contained by vimIsCommand. {{{2 |
474 syn keyword vimFor for skipwhite nextgroup=vimVar,vimVarList | 473 syn keyword vimFor for skipwhite nextgroup=vimVar,vimVarList |
475 | 474 |
476 " Abbreviations: {{{2 | 475 " Abbreviations: {{{2 |
477 " ============= | 476 " ============= |
478 " GEN_SYN_VIM: vimCommand abbrev, START_STR='syn keyword vimAbb', END_STR='skipwhite nextgroup=vimMapMod,vimMapLhs' | 477 " GEN_SYN_VIM: vimCommand abbrev, START_STR='syn keyword vimAbb', END_STR='skipwhite nextgroup=vimMapMod,vimMapLhs' |
478 " GEN_SYN_VIM: vimCommand abclear, START_STR='syn keyword vimAbb', END_STR='skipwhite nextgroup=vimMapMod' | |
479 | 479 |
480 " Autocmd: {{{2 | 480 " Autocmd: {{{2 |
481 " ======= | 481 " ======= |
482 syn match vimAutoEventList contained "\(!\s\+\)\=\(\a\+,\)*\a\+" contains=vimAutoEvent nextgroup=vimAutoCmdSpace | 482 syn match vimAutoEventList contained "\(!\s\+\)\=\(\a\+,\)*\a\+" contains=vimAutoEvent nextgroup=vimAutoCmdSpace |
483 syn match vimAutoCmdSpace contained "\s\+" nextgroup=vimAutoCmdSfxList | 483 syn match vimAutoCmdSpace contained "\s\+" nextgroup=vimAutoCmdSfxList |