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
Argument color doesn't reset for values in multi-column layout #414
Comments
@mjcarman Thanks for reporting this. I'm not able to reproduce it, so there is probably something additional involved: Can you share your (Also, what version of Clink is in use?) |
@mjcarman Found it. My .inputrc file has When |
@chrisant996 You said you found the issue, but for tracking and reproduction purposes I'm running clink 1.4.14.
My argmatcher for
|
@mjcarman Awesome, thanks for the settings and script. I'll look into them and report what I find. Try pressing
The The "Use enhanced defaults" option affects defaults, but any of them can be overridden by user configuration. |
@mjcarman P.S. how would you feel about your ripgrep argmatcher being included in clink-completions? |
Diagnostic info:
default_inputrc:
Which makes it look like |
@chrisant996 Feel free to crib my ripgrep argmatcher and anything else you'd like from my fork of clink-completions. |
@mjcarman Oh hey, you might be interested in this:
The clink-gizmos repo has a The (Also, in your argmatcher, the hidden flags like |
@chrisant996 I was aware of I found myself wishing that there was a standard declarative syntax (e.g. in YAML) for completions that could be used for any shell, but obviously that be very limited even if it existed. I also debated contributing my Thanks for pointing that out the missing linked matchers for hidden flags. I've updated my |
So true. I need to make some decisions and add improved argmatcher syntax into Clink itself. I'll try to collect my design thoughts in a brief doc and email it to you for your thoughts in case you have time/interest to give feedback. (The exercise of putting my thoughts into document form will be helpful to me, regardless.) |
Sure; I'd be happy to. |
When there are only a few possible completions and clink displays them all in a single column, colors are set/reset correctly.
But when there are many possible completions and clink switches to a multi-column layout, the flag/arg color isn't reset after an argument info hint (unless the arg/flag is selected). The remainder of the line is rendered as
color.arginfo
.The text was updated successfully, but these errors were encountered: