Only recognise Pod for .pod files (#3863)

We uncomplicate matters by removing ".pod" from the Perl definition
entirely.
This commit is contained in:
Ashe Connor
2017-10-17 19:05:20 +11:00
committed by GitHub
parent ea3e79a631
commit 93cd47822f
5 changed files with 1 additions and 18 deletions

View File

@@ -367,14 +367,6 @@ module Linguist
end
end
disambiguate ".pod", "Pod", "Perl" do |data|
if /^=\w+\b/.match(data)
Language["Pod"]
else
Language["Perl"]
end
end
disambiguate ".pro" do |data|
if /^[^#]+:-/.match(data)
Language["Prolog"]

View File

@@ -3313,7 +3313,6 @@ Perl:
- ".ph"
- ".plx"
- ".pm"
- ".pod"
- ".psgi"
- ".t"
filenames: