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

Detect illegal end of inline table and pop early #23

Merged
merged 1 commit into from
Aug 20, 2024

Conversation

ehuss
Copy link
Collaborator

@ehuss ehuss commented Aug 20, 2024

This fixes a problem where typing a comma in an inline table ends up highlighting the next line as an error.

I'm not sure if this is really the best solution, but seems to work for the common case.

Fixes #22

This fixes a problem where typing a comma in an inline table ends up
highlighting the next line as an error.

I'm not sure if this is really the best solution, but seems to work for
the common case.
@jasonwilliams jasonwilliams merged commit fc34d95 into jasonwilliams:master Aug 20, 2024
@FichteFoll
Copy link

FichteFoll commented Aug 21, 2024

I'm not sure if this is really the best solution, but seems to work for the common case.

From the review, I would have done the exact same.

Thanks for the fix!

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.

"inline-keyval-sep" context should be popped when encountering a closing brace
3 participants