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 hasbang syntax to lang-javascript #1236

Closed
masad-frost opened this issue Aug 22, 2023 · 1 comment
Closed

Add hasbang syntax to lang-javascript #1236

masad-frost opened this issue Aug 22, 2023 · 1 comment

Comments

@masad-frost
Copy link

Describe the issue

https://github.com/tc39/proposal-hashbang this is a thing now. Merged into es2023 tc39/ecma262#2816

#!/usr/bin/env node

console.log(1);

is not recognized by codemirror/lezer

Browser and platform

any

Reproduction link

No response

@marijnh
Copy link
Member

marijnh commented Aug 23, 2023

Done in attached patch.

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