mirror of
https://github.com/KevinMidboe/linguist.git
synced 2025-10-29 09:40:21 +00:00
Add .l to Groff.
This commit is contained in:
@@ -290,11 +290,13 @@ module Linguist
|
||||
end
|
||||
end
|
||||
|
||||
disambiguate "Common Lisp", "Lex" do |data|
|
||||
disambiguate "Common Lisp", "Lex", "Groff" do |data|
|
||||
if data.include?("(def(un|macro)\s")
|
||||
Language["Common Lisp"]
|
||||
elsif /^(%[%{}]xs|<.*>)/.match(data)
|
||||
Language["Lex"]
|
||||
elsif /^\.[a-z][a-z](\s|$)/.match(data)
|
||||
Language["Groff"]
|
||||
end
|
||||
end
|
||||
end
|
||||
|
||||
@@ -1214,6 +1214,7 @@ Groff:
|
||||
- '.5'
|
||||
- '.6'
|
||||
- '.7'
|
||||
- .l
|
||||
tm_scope: text.groff
|
||||
aliases:
|
||||
- nroff
|
||||
|
||||
Reference in New Issue
Block a user