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

Fixed some minor errors #137

Merged
merged 2 commits into from
Nov 9, 2024
Merged

Fixed some minor errors #137

merged 2 commits into from
Nov 9, 2024

Conversation

blindFS
Copy link
Contributor

@blindFS blindFS commented Nov 9, 2024

This PR fixed following issues in current grammar:

  1. hide-env with flags
image
  1. do + closure + more than one arguments / parenthesized multiline do statement
image
  1. wrong result for multiline expr_interpolated (here bar should be argument instead of the command head of another pipeline)
image
  1. hide those "\n" terminal tokens, which makes it easier for query, also more windows friendly.

@fdncred
Copy link
Collaborator

fdncred commented Nov 9, 2024

wow, thanks! maybe someday tree-sitter-nu will be as complete as nushell's parser.

@fdncred fdncred merged commit 7e0f16f into nushell:main Nov 9, 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