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

Allow spaces in shebang lines #223

Merged
merged 2 commits into from
May 5, 2024
Merged

Allow spaces in shebang lines #223

merged 2 commits into from
May 5, 2024

Conversation

jwnrt
Copy link
Contributor

@jwnrt jwnrt commented May 5, 2024

Any character is allowed in a shebang line including spaces. This is usually used with /usr/bin/env -S to split the line into arguments.

Most people using shebangs for cargo-script today will probably need to use #!/usr/bin/env cargo +nightly -Zscript so I've added this as a test.

@amaanq
Copy link
Member

amaanq commented May 5, 2024

thanks! I just regenerated with the latest cli version and amended on top of your last commit

@amaanq amaanq merged commit 9c84af0 into tree-sitter:master May 5, 2024
4 checks passed
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

Successfully merging this pull request may close these issues.

2 participants