diff --git a/lib/ace/mode/powershell_highlight_rules.js b/lib/ace/mode/powershell_highlight_rules.js index e1caf7c3..bce69c3d 100644 --- a/lib/ace/mode/powershell_highlight_rules.js +++ b/lib/ace/mode/powershell_highlight_rules.js @@ -13,6 +13,7 @@ var PowershellHighlightRules = function() { ); var builtinFunctions = lang.arrayToMap( + // TODO: fill out this list ("Write-Host").split("|") ); @@ -65,6 +66,9 @@ var PowershellHighlightRules = function() { }, { token : "keyword.operator", regex : "\\-(?:" + binaryOperatorsRe + ")" + }, { + token : "keyword.operator", + regex : "&|\\*|\\+|\\-|\\=|\\+=|\\-=" }, { token : "lparen", regex : "[[({]"