Add .l to Groff.

This commit is contained in:
Lars Brinkhoff
2015-05-12 12:47:11 +02:00
parent 912e465193
commit 869c9d2fdd
2 changed files with 4 additions and 1 deletions

View File

@@ -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

View File

@@ -1214,6 +1214,7 @@ Groff:
- '.5'
- '.6'
- '.7'
- .l
tm_scope: text.groff
aliases:
- nroff