Skip to content

Commit 7ebb8d1

Browse files
authored
Fix NameError in the Mojo lexer in Ruby 2.7 (rouge-ruby#2068)
* Fix CI for 2.7 * Use load_lexer instead
1 parent 90b5c83 commit 7ebb8d1

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

lib/rouge/lexers/mojo.rb

+2
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,8 @@
33

44
module Rouge
55
module Lexers
6+
load_lexer 'python.rb'
7+
68
class Mojo < Python
79
title "Mojo"
810
desc "The Mojo programming language (modular.com)"

0 commit comments

Comments
 (0)