mirror of
https://github.com/KevinMidboe/linguist.git
synced 2025-12-28 21:01:00 +00:00
Add .l to Common Lisp.
This commit is contained in:
@@ -289,5 +289,13 @@ module Linguist
|
|||||||
Language["RenderScript"]
|
Language["RenderScript"]
|
||||||
end
|
end
|
||||||
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
|
||||||
end
|
end
|
||||||
|
|||||||
@@ -601,6 +601,7 @@ Common Lisp:
|
|||||||
- .lisp
|
- .lisp
|
||||||
- .asd
|
- .asd
|
||||||
- .cl
|
- .cl
|
||||||
|
- .l
|
||||||
- .lsp
|
- .lsp
|
||||||
- .ny
|
- .ny
|
||||||
- .podsl
|
- .podsl
|
||||||
|
|||||||
Reference in New Issue
Block a user