Skip to content

Commit

Permalink
Downcase extname for main index
Browse files Browse the repository at this point in the history
  • Loading branch information
josh committed Aug 23, 2011
1 parent a093f37 commit c10c6dd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/pygments/lexer.rb
Expand Up @@ -38,7 +38,7 @@ def self.create(hash)

extnames.each do |extname|
@extname_index[extname] = lexer
@index[extname.sub(/^\./, "")] ||= lexer
@index[extname.downcase.sub(/^\./, "")] ||= lexer
end
end

Expand Down

0 comments on commit c10c6dd

Please sign in to comment.