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

fix: whitespace issues of if/for/error/alias #167

Merged
merged 1 commit into from
Dec 10, 2024
Merged

Conversation

blindFS
Copy link
Contributor

@blindFS blindFS commented Dec 10, 2024

This PR fixes some easy ones of the whitespace issues:

image

image

There're other harder cases remaining.

I don't quite get the logic behind, seems like bugs of tree-sitter itself to me. The work-around solutions in this PR were found through bisection and try-and-error.

@fdncred fdncred merged commit ac87832 into nushell:main Dec 10, 2024
3 checks passed
@fdncred
Copy link
Collaborator

fdncred commented Dec 10, 2024

Thanks

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