diff --git a/lib/linguist/heuristics.yml b/lib/linguist/heuristics.yml index 8a6fcea078..bd723c29f8 100644 --- a/lib/linguist/heuristics.yml +++ b/lib/linguist/heuristics.yml @@ -471,6 +471,8 @@ disambiguations: pattern: ' all_fixtures("Modula-2", "*.mod"), "NMODL" => all_fixtures("NMODL", "*.mod"), "XML" => all_fixtures("XML", "*.mod"), + "Go Module" => Dir.glob("#{fixtures_path}/Go Module/multiline/go.mod") + + Dir.glob("#{fixtures_path}/Go Module/quoted/go.mod") + + Dir.glob("#{fixtures_path}/Go Module/unquoted/go.mod"), ["Linux Kernel Module", "AMPL"] => all_fixtures("Linux Kernel Module", "*.mod"), ["Linux Kernel Module", "AMPL"] => all_fixtures("AMPL", "*.mod"), })