Skip to content

Comments

Avoid loading lexers twice#2111

Closed
jdelStrother wants to merge 1 commit intorouge-ruby:masterfrom
jdelStrother:master
Closed

Avoid loading lexers twice#2111
jdelStrother wants to merge 1 commit intorouge-ruby:masterfrom
jdelStrother:master

Conversation

@jdelStrother
Copy link

Rouge.load_lexers passes Pathname objects to Lexer.load_lexer, causing some lexers to get loaded twice

Rouge.load_lexers passes Pathname objects to Lexer.load_lexer, causing some lexers to get loaded twice
@jneen
Copy link
Member

jneen commented Feb 13, 2026

This method was eliminated in #2202 for an approach that only uses require_relative, so hopefully there won't be double loads in the future!

@jneen jneen closed this Feb 13, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants