mirror of
https://github.com/KevinMidboe/linguist.git
synced 2025-10-29 17:50:22 +00:00
@@ -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"]
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user