Skip to content
Permalink
Browse files

Add other Perl6 extensions

Perl6 files will occasionally have the extensions `.pl6` and `.pm6` instead of just `.p6`.
  • Loading branch information...
nicqrocks committed Apr 11, 2017
1 parent 8438677 commit 1e90cec6f3884ccfe5f1156e2026c9bae9cf3ff3
Showing with 1 addition and 1 deletion.
  1. +1 −1 runtime/syntax/perl6.yaml
@@ -1,7 +1,7 @@
filetype: perl6

detect:
filename: "\\.p6$"
filename: "(\\.p6$|\\.pl6$|\\.pm6$)"

rules:
- type: "\\b(accept|alarm|atan2|bin(d|mode)|c(aller|h(dir|mod|op|own|root)|lose(dir)?|onnect|os|rypt)|d(bm(close|open)|efined|elete|ie|o|ump)|e(ach|of|val|x(ec|ists|it|p))|f(cntl|ileno|lock|ork)|get(c|login|peername|pgrp|ppid|priority|pwnam|(host|net|proto|serv)byname|pwuid|grgid|(host|net)byaddr|protobynumber|servbyport)|([gs]et|end)(pw|gr|host|net|proto|serv)ent|getsock(name|opt)|gmtime|goto|grep|hex|index|int|ioctl|join|keys|kill|last|length|link|listen|local(time)?|log|lstat|m|mkdir|msg(ctl|get|snd|rcv)|next|oct|open(dir)?|ord|pack|pipe|pop|printf?|push|q|qq|qx|rand|re(ad(dir|link)?|cv|do|name|quire|set|turn|verse|winddir)|rindex|rmdir|s|scalar|seek|seekdir|se(lect|mctl|mget|mop|nd|tpgrp|tpriority|tsockopt)|shift|shm(ctl|get|read|write)|shutdown|sin|sleep|socket(pair)?|sort|spli(ce|t)|sprintf|sqrt|srand|stat|study|substr|symlink|sys(call|read|tem|write)|tell(dir)?|time|tr|y|truncate|umask|un(def|link|pack|shift)|utime|values|vec|wait(pid)?|wantarray|warn|write)\\b"

0 comments on commit 1e90cec

Please sign in to comment.
You can’t perform that action at this time.