mirror of
https://github.com/neovim/neovim.git
synced 2024-12-19 10:45:16 -07:00
vim-patch:a1dc649: runtime(dosbatch): Show %%i as an argument in syntax file
Inside batch files, for-variables must be written as %%i, not %i.
closes: vim/vim#15453
a1dc64956f
Co-authored-by: Ken Takata <kentkt@csc.jp>
This commit is contained in:
parent
78fb387f87
commit
0c3bdb80bd
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user