|
2 | 2 | " Language: Vim script |
3 | 3 | " Maintainer: Hirohito Higashi <h.east.727 ATMARK gmail.com> |
4 | 4 | |
5 | | -" Last Change: 2025 Jul 10 |
| 5 | +" Last Change: 2025 Jul 11 |
6 | 6 | " Former Maintainer: Charles E. Campbell |
7 | 7 |
|
8 | 8 | " DO NOT CHANGE DIRECTLY. |
@@ -235,7 +235,7 @@ syn cluster vim9CmdList contains=vim9Abstract,vim9Class,vim9Const,vim9Enum,vim9E |
235 | 235 | syn match vimCmdSep "\\\@1<!|" skipwhite nextgroup=@vimCmdList,vimSubst1,@vimFunc |
236 | 236 | syn match vimCmdSep ":\+" skipwhite nextgroup=@vimCmdList,vimSubst1 |
237 | 237 | syn match vimCount contained "\d\+" |
238 | | -syn match vimIsCommand "\<\%(\h\w*\|[23]mat\%[ch]\)\>" nextgroup=vimBang contains=vimCommand |
| 238 | +syn match vimIsCommand "\<\h\w*\>" nextgroup=vimBang contains=vimCommand |
239 | 239 | syn match vimBang contained "!" |
240 | 240 | syn match vimWhitespace contained "\s\+" |
241 | 241 |
|
@@ -1439,12 +1439,18 @@ endif |
1439 | 1439 |
|
1440 | 1440 | " Match: {{{2 |
1441 | 1441 | " ===== |
1442 | | -syn match vimMatch "\<[23]\=mat\%[ch]\>" skipwhite nextgroup=vimMatchGroup,vimMatchNone |
1443 | | -syn match vimMatchGroup contained "[[:alnum:]._-]\+" skipwhite nextgroup=vimMatchPattern |
| 1442 | +syn match vimMatch "\<\%([1-3]\s*\)\=mat\%[ch]\>" skipwhite nextgroup=vimMatchGroup,vimMatchNone contains=vimCount |
| 1443 | +syn match vimMatchGroup contained "[[:alnum:]._-]\+" skipwhite nextgroup=vimMatchPattern |
1444 | 1444 | syn case ignore |
1445 | 1445 | syn keyword vimMatchNone contained none |
1446 | 1446 | syn case match |
1447 | | -syn region vimMatchPattern contained matchgroup=Delimiter start="\z([!#$%&'()*+,-./:;<=>?@[\]^_`{}~]\)" skip="\\\\\|\\\z1" end="\z1" contains=@vimSubstList oneline |
| 1447 | +syn region vimMatchPattern contained |
| 1448 | + \ matchgroup=Delimiter |
| 1449 | + \ start="\z([!#$%&'()*+,-./:;<=>?@[\]^_`{}~]\)" |
| 1450 | + \ skip="\\\\\|\\\z1" |
| 1451 | + \ end="\z1" |
| 1452 | + \ contains=@vimSubstList |
| 1453 | + \ oneline |
1448 | 1454 |
|
1449 | 1455 | " Normal: {{{2 |
1450 | 1456 | " ====== |
|
0 commit comments