Skip to content

Commit

Permalink
Add 'lisp' alias to Common Lisp lexer (#1315)
Browse files Browse the repository at this point in the history
Although Common Lisp is a Lisp dialect, assigning the alias 'lisp' to
the Common Lisp lexer is consistent with the approach of Pygments.
  • Loading branch information
pyrmont authored Aug 26, 2019
1 parent b65c879 commit 106e86f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/rouge/lexers/common_lisp.rb
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ class CommonLisp < RegexLexer
title "Common Lisp"
desc "The Common Lisp variant of Lisp (common-lisp.net)"
tag 'common_lisp'
aliases 'cl', 'common-lisp', 'elisp', 'emacs-lisp'
aliases 'cl', 'common-lisp', 'elisp', 'emacs-lisp', 'lisp'

filenames '*.cl', '*.lisp', '*.asd', '*.el' # used for Elisp too
mimetypes 'text/x-common-lisp'
Expand Down

0 comments on commit 106e86f

Please sign in to comment.