lib/rouge/lexers/powershell.rb in rouge-3.5.0 vs lib/rouge/lexers/powershell.rb in rouge-3.5.1
- old
+ new
@@ -631,10 +631,10 @@
# Override from Shell
state :interp do
rule %r/`$/, Str::Escape # line continuation
rule %r/`./, Str::Escape
rule %r/\$\(\(/, Keyword, :math
- rule %r/\$\(/, Keyword, :paren
+ rule %r/\$\(/, Str::Interpol, :paren_interp
rule %r/\${#?/, Keyword, :curly
rule %r/\$#?(\w+|.)/, Name::Variable
end
# Override from Shell