improve batch highlighting
This commit is contained in:
parent
c62e0d3062
commit
449bbfe406
1 changed files with 2 additions and 1 deletions
|
|
@ -78,7 +78,8 @@ var BatchFileHighlightRules = function() {
|
|||
{ token: 'keyword.operator.redirect.shell',
|
||||
regex: '&>|\\d*>&\\d*|\\d*(?:>>|>|<)|\\d*<&|\\d*<>' } ],
|
||||
variable: [
|
||||
{ token: 'constant.numeric', regex: '%%\\w+'},
|
||||
{ token: 'constant.numeric', regex: '%%\\w+|%[*\\d]|%\\w+%'},
|
||||
{ token: 'constant.numeric', regex: '%~\\d+'},
|
||||
{ token: ['markup.list', 'constant.other', 'markup.list'],
|
||||
regex: '(%)(\\w+)(%?)' }]}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue