Merge pull request #900 from hoelzro/master

Update Perl 6 samples
This commit is contained in:
Arfon Smith
2014-12-02 10:52:45 -06:00
20 changed files with 4427 additions and 3 deletions

View File

@@ -70,8 +70,10 @@ module Linguist
end
end
disambiguate "Perl", "Prolog" do |data|
if data.include?("use strict")
disambiguate "Perl", "Perl6", "Prolog" do |data|
if data.include?("use v6")
Language["Perl6"]
elsif data.include?("use strict")
Language["Perl"]
elsif data.include?(":-")
Language["Prolog"]

View File

@@ -1971,14 +1971,17 @@ Perl6:
type: programming
color: "#0298c3"
extensions:
- .p6
- .6pl
- .6pm
- .nqp
- .p6
- .p6l
- .p6m
- .pl
- .pl6
- .pm
- .pm6
- .t
interpreters:
- perl6
tm_scope: none