mirror of
https://github.com/KevinMidboe/linguist.git
synced 2025-12-08 20:38:47 +00:00
Merge pull request #2339 from ampl/nl
Improve NL/NewLisp disambiguation heuristic
This commit is contained in:
@@ -275,7 +275,7 @@ module Linguist
|
||||
end
|
||||
|
||||
disambiguate "NL", "NewLisp" do |data|
|
||||
if /^g3 /.match(data)
|
||||
if /^(b|g)[0-9]+ /.match(data)
|
||||
Language["NL"]
|
||||
else
|
||||
Language["NewLisp"]
|
||||
|
||||
Reference in New Issue
Block a user