Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Perl 6 shebang should be recognized #1

Open
AlexDaniel opened this issue Jun 27, 2018 · 3 comments
Open

Perl 6 shebang should be recognized #1

AlexDaniel opened this issue Jun 27, 2018 · 3 comments

Comments

@AlexDaniel
Copy link

Upstream nano has this in perl.nanorc:

header "^#!.*perl[-0-9._]*"

I think that's what is making it recognize most perl 6 scripts as perl5.

perl6.nanorc should recognize perl6 shebang, and FWIW perl5 nanorc should be tweaked if this is submitted upstream.

@hankache
Copy link
Owner

44b503f

@AlexDaniel
Copy link
Author

Maybe also do v6\.[a-z] so that it's going to work even if we ramp up language releases?

@hankache
Copy link
Owner

abec352

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants