Add .l to Common Lisp.

This commit is contained in:
Lars Brinkhoff
2015-05-12 11:45:31 +02:00
parent e7c1419390
commit 912e465193
2 changed files with 9 additions and 0 deletions

View File

@@ -289,5 +289,13 @@ module Linguist
Language["RenderScript"]
end
end
disambiguate "Common Lisp", "Lex" do |data|
if data.include?("(def(un|macro)\s")
Language["Common Lisp"]
elsif /^(%[%{}]xs|<.*>)/.match(data)
Language["Lex"]
end
end
end
end

View File

@@ -601,6 +601,7 @@ Common Lisp:
- .lisp
- .asd
- .cl
- .l
- .lsp
- .ny
- .podsl