Open hotpxl opened 7 months ago
Actually, it also works if I call zle redisplay
instead of zle .redisplay
(which seems like a cleaner solution).
Is there any reason we are calling the original .redisplay
function? In my case, I use z-sy-h and it overrides widgets to highlight stuff.
@Aloxaf any comment is much appreciated!
What is your plugin loading order? Did you make sure fzf-tab was loaded before z-sy-h?
yeah, fzf-tab is loaded before z-sy-h
what's the output of echo $widgets[fzf-tab-complete]
?
echo $widgets[fzf-tab-complete]
user:_zsh_autosuggest_bound_1_fzf-tab-complete
it's rebound by https://github.com/zsh-users/zsh-autosuggestions
can you remove zsh-autosuggestions and try again?
I removed zsh-autosuggestions, the problem persists. And now
echo $widgets[fzf-tab-complete]
user:_zsh_highlight_widget_orig-s0.0000010000-r30869-fzf-tab-complete
hi, shall we merge this?
Somehow if I don't call
zle reset-prompt
, the highlighting turns off when the completion is done (either there's no more choice or when I ctrl-c)