-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
Unset parameter expansions #239
Labels
Comments
Cross-referencing #691. |
Closing in favour of #509. |
danielshahaf
added a commit
to danielshahaf/zsh-syntax-highlighting
that referenced
this issue
Mar 28, 2020
The existing check was bogus: parameter expansion doesn't depend on whether there happens to be a command literally called «$foo». This enables the parameter elision logic to kick in for words not in command position. Fixes zsh-users#239.
danielshahaf
added a commit
to danielshahaf/zsh-syntax-highlighting
that referenced
this issue
Mar 28, 2020
The existing check was bogus: parameter expansion doesn't depend on whether there happens to be a command literally called «$foo». This enables the parameter elision logic to kick in for words not in command position. Fixes zsh-users#239.
Closing in favour of #450. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Consider having —
— highlight the expansion
$foo
as an error/warning, since the parameter is unset.The text was updated successfully, but these errors were encountered: