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

Completion: Add make variables with values #121

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

mstaz
Copy link

@mstaz mstaz commented Aug 13, 2024

So far only variable names were added. However Makefiles and make would also return possible values which are not completed so far. The values are stored and overwritten in the map without using them anywhere. So instead it currently makes more sense to complete the whole variable name-value combination instead of only the name.

I'm unsure about this change because I have not completely understood zsh's completion system yet. However it works for me (version 5.8 and call-command set true) as I want it to be. It's similar to bash's behavior with that.

So far only variable names were added. However Makefiles and make would
also return possible values which are not completed so far. The values
are stored and overwritten in the map without using them anywhere.
So instead it currently makes more sense to complete the whole variable
name-value combination instead of only the name.
@larryv
Copy link
Contributor

larryv commented Aug 13, 2024

This contribution should probably be discussed on the mailing list, since it significantly changes completion behavior. Very few committers monitor this repository mirror, and little to no discussion happens here.

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