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

Add Swift shebang to syntax #3451

Merged
merged 1 commit into from
Sep 5, 2024
Merged

Add Swift shebang to syntax #3451

merged 1 commit into from
Sep 5, 2024

Conversation

frkd-dev
Copy link
Contributor

@frkd-dev frkd-dev commented Sep 4, 2024

The Swift compiler can be run in "interpreter" mode, so it can run Swift "scripts" if they have a proper shebang and no file extension. This PR adds a shebang detection to the swift.yaml syntax file so Micro can highlight Swift scripts as well.

The Swift compiler can be run in "interpreter" mode, so it can run Swift "scripts" if they have a proper shebang and no file extension.
@frkd-dev
Copy link
Contributor Author

frkd-dev commented Sep 4, 2024

The addition of shebang is discussed in #3450.

@JoeKar JoeKar merged commit 5428b3f into zyedidia:master Sep 5, 2024
3 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