Permalink
Browse files

Merge pull request #325 from greghendershott/racket-lexer

Use new Racket lexer from pygments.rb 0.3.3
  • Loading branch information...
2 parents bcaeb5d + 0b24654 commit abda879d5af1eb321010c7a2b48da3ccb8919051 @tnm tnm committed Jan 2, 2013
Showing with 3 additions and 2 deletions.
  1. +2 −1 lib/linguist/languages.yml
  2. +1 −1 test/test_language.rb
@@ -1032,10 +1032,11 @@ RHTML:
Racket:
type: programming
- lexer: Scheme
+ lexer: Racket
color: "#ae17ff"
primary_extension: .rkt
extensions:
+ - .rkt
- .rktd
- .rktl
View
@@ -45,7 +45,7 @@ def test_lexer
assert_equal Lexer['S'], Language['R'].lexer
assert_equal Lexer['Scheme'], Language['Emacs Lisp'].lexer
assert_equal Lexer['Scheme'], Language['Nu'].lexer
- assert_equal Lexer['Scheme'], Language['Racket'].lexer
+ assert_equal Lexer['Racket'], Language['Racket'].lexer
assert_equal Lexer['Scheme'], Language['Scheme'].lexer
assert_equal Lexer['Standard ML'], Language['Standard ML'].lexer
assert_equal Lexer['TeX'], Language['TeX'].lexer

0 comments on commit abda879

Please sign in to comment.