Added in non-comparison operators i.e. &
This commit is contained in:
parent
c89a00fd51
commit
9cb8889801
1 changed files with 4 additions and 0 deletions
|
|
@ -13,6 +13,7 @@ var PowershellHighlightRules = function() {
|
||||||
);
|
);
|
||||||
|
|
||||||
var builtinFunctions = lang.arrayToMap(
|
var builtinFunctions = lang.arrayToMap(
|
||||||
|
// TODO: fill out this list
|
||||||
("Write-Host").split("|")
|
("Write-Host").split("|")
|
||||||
);
|
);
|
||||||
|
|
||||||
|
|
@ -65,6 +66,9 @@ var PowershellHighlightRules = function() {
|
||||||
}, {
|
}, {
|
||||||
token : "keyword.operator",
|
token : "keyword.operator",
|
||||||
regex : "\\-(?:" + binaryOperatorsRe + ")"
|
regex : "\\-(?:" + binaryOperatorsRe + ")"
|
||||||
|
}, {
|
||||||
|
token : "keyword.operator",
|
||||||
|
regex : "&|\\*|\\+|\\-|\\=|\\+=|\\-="
|
||||||
}, {
|
}, {
|
||||||
token : "lparen",
|
token : "lparen",
|
||||||
regex : "[[({]"
|
regex : "[[({]"
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue