lib/linguist/heuristics.rb in github-linguist-4.5.2 vs lib/linguist/heuristics.rb in github-linguist-4.5.3
- old
+ new
@@ -268,7 +268,15 @@
elsif /=> |case\s+(\S+\s)+of/.match(data)
Language["Standard ML"]
end
end
+ disambiguate "NL", "NewLisp" do |data|
+ if /^g3 /.match(data)
+ Language["NL"]
+ else
+ Language["NewLisp"]
+ end
+ end
+
end
end