mirror of
https://github.com/vim/vim
synced 2025-07-16 01:01:58 +00:00
runtime(dosbatch): Show %%i as an argument in syntax file
Inside batch files, for-variables must be written as %%i, not %i. closes: #15453 Signed-off-by: Ken Takata <kentkt@csc.jp> Signed-off-by: Christian Brabandt <cb@256bit.org>
This commit is contained in:
committed by
Christian Brabandt
parent
11c92be897
commit
a1dc64956f
@ -75,7 +75,7 @@ syn match dosbatchSet "\s\h\w*[+-]\==\{-1}" contains=dosbatchIdentifier,dosbatc
|
||||
|
||||
" Args to bat files and for loops, etc
|
||||
syn match dosbatchArgument "%\(\d\|\*\)"
|
||||
syn match dosbatchArgument "%[a-z]\>"
|
||||
syn match dosbatchArgument "%%[a-z]\>"
|
||||
if dosbatch_cmdextversion == 1
|
||||
syn match dosbatchArgument "%\~[fdpnxs]\+\(\($PATH:\)\=[a-z]\|\d\)\>"
|
||||
else
|
||||
|
Reference in New Issue
Block a user