We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Rouge::Lexers::Ruby
A sample of the code that produces the bug.
# Compact class name class Rouge::Lexers::Ruby < RegexLexer def self.detect?(text) return true if text.shebang? 'ruby' end end # Nested class name module Rouge module Lexers class Ruby < RegexLexer def self.detect?(text) return true if text.shebang? 'ruby' end end end end
The class name Ruby has a different color in the two scenarios
Ruby
The text was updated successfully, but these errors were encountered:
Would you be willing to make a branch with this added to the sample file?
Sorry, something went wrong.
Successfully merging a pull request may close this issue.
Name of the lexer
Rouge::Lexers::Ruby
Code sample
A sample of the code that produces the bug.
Sample screenshot
The class name
Ruby
has a different color in the two scenariosThe text was updated successfully, but these errors were encountered: