Skip to content

Commit

Permalink
Use load_lexer instead
Browse files Browse the repository at this point in the history
  • Loading branch information
bartbroere authored Sep 10, 2024
1 parent ad7eb61 commit 4090da7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/rouge/lexers/mojo.rb
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
# -*- coding: utf-8 -*- #
# frozen_string_literal: true

require('rouge/lexers/python')

module Rouge
module Lexers
load_lexer 'python.rb'

class Mojo < Python
title "Mojo"
desc "The Mojo programming language (modular.com)"
Expand Down

0 comments on commit 4090da7

Please sign in to comment.