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

Ignore Byte Order Mark in Grammars #269

Open
jordi-z80 opened this issue May 11, 2024 · 1 comment
Open

Ignore Byte Order Mark in Grammars #269

jordi-z80 opened this issue May 11, 2024 · 1 comment
Labels
feature request A request for a new feature

Comments

@jordi-z80
Copy link

I can get syntax highlighting without major problems until for some reason, VSCode puts a BOM at the start of the file.

After that, I just get this error:

image

@mike-lischke
Copy link
Owner

Grammars are parsed as they are, no special processing is done before that. Dealing with a BOM is a new feature.

@mike-lischke mike-lischke added the feature request A request for a new feature label May 12, 2024
@mike-lischke mike-lischke changed the title BOM problem? Ignore Byte Order Mark in Grammars May 12, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature request A request for a new feature
Projects
None yet
Development

No branches or pull requests

2 participants