Skip to content

Commit

Permalink
Make PlainText lexer default parent
Browse files Browse the repository at this point in the history
  • Loading branch information
pyrmont committed Jul 30, 2019
1 parent 7a6b879 commit f168158
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/rouge/lexers/epp.rb
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,9 @@ class EPP < TemplateLexer
filenames '*.epp'

def initialize(opts={})
@puppet_lexer = Puppet.new(opts)

super(opts)
@parent = lexer_option(:parent) { PlainText.new(opts) }
@puppet_lexer = Puppet.new(opts)
end

start do
Expand Down

0 comments on commit f168158

Please sign in to comment.