lib/rouge/lexers/terraform.rb in rouge-4.1.2 vs lib/rouge/lexers/terraform.rb in rouge-4.1.3
- old
+ new
@@ -35,17 +35,9 @@
def self.builtins
@builtins ||= %w()
end
- prepend :hash do
- rule %r/[.,()*]/, Punctuation
- end
-
- prepend :array do
- rule %r/[.,()*]/, Punctuation
- end
-
state :strings do
rule %r/\\./, Str::Escape
rule %r/\$\{/ do
token Keyword
push :interpolation