Open mitinarseny opened 4 years ago
It seems possible but I'm curious about how things would function when in that state of having both an ignored suffix of the command and a suggestion to show. Can you elaborate on how the suggestion would be shown in your second and fourth screenshots? And what you think should happen if you were to press enter from those states without accepting the suggestion?
Hmm, that's an interesting question :) To be honest, I can't come up with a solution. Sorry, I didn't think of that when was opening this issue.
It would be useful to provide a feature when I am not at the end of the line and to the right of cursor there are some symbols that can be ignored when suggesting a command.
For example, when I type
git cm
i have following suggestionBut when I press
"
autopair plugin inserts a send"
, so the completion is gone... Then I start to typefeat(nvim):
and it would be useful to defineZSH_AUTOSUGGEST_IGNORE_SYMBOLS
as following:to make it possible to show completions even if any count of any of these symbols are now on the right of cursor.
Same issue can be with
$(...)
:Is it possible to implement?