-
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
Highlight parameter expansions : $foo #739
Comments
Copying your previous comment for context:
Thanks, but I'll do that myself since I need to delete my own comment too. |
In
If I understand correctly, @mirsella, you are asking for the I think there are existing issues for all of these: #509 [which I have just retitled] for (1), #718 for (2), #450 for (3), and #484 and #485 for some extra functionality. Accordingly, I'm inclined to close these issue as a duplicate of those other ones — unless there's some request here that's not covered by those other issues? If so, what is it? |
(I've retitled the issue since it's not specifically about environment variables but about parameter expansions in general.) |
thanks for the complete answer. sorry for my english
that precisely it. |
Thanks, closing. (You can subscribe to the other issues, of course.) In this case, finding other issues would have been not as straightforward as usual, because these are commonly known as "variables" but the zsh syntax documentation terms them "parameters" instead. |
Environnement variable are not highlighted, example
echo $foo $bar
$foo and $bar are white.i think a line in tweak main would be appropriated.
example :
ZSH_HIGHLIGHT_STYLES[variable]
if the variable exist et is not empty.ZSH_HIGHLIGHT_STYLES[variable-empty]
if the variable is not set or is empty.i have posted this comment on another thread, tell me if it's better if i delete it to clean the thread.
thanks
The text was updated successfully, but these errors were encountered: