mirror of
https://github.com/zsh-users/zsh-autosuggestions.git
synced 2024-12-28 15:14:51 +08:00
We need to bind on every precmd to ensure we wrap other wrappers
Specifically, highlighting breaks if our widgets are wrapped by z-syn-h widgets.
This commit is contained in:
parent
75e850577d
commit
4321fc097c
|
@ -5,8 +5,6 @@
|
|||
|
||||
# Start the autosuggestion widgets
|
||||
_zsh_autosuggest_start() {
|
||||
add-zsh-hook -d precmd _zsh_autosuggest_start
|
||||
|
||||
_zsh_autosuggest_feature_detect
|
||||
_zsh_autosuggest_bind_widgets
|
||||
|
||||
|
|
|
@ -609,8 +609,6 @@ _zsh_autosuggest_async_start() {
|
|||
|
||||
# Start the autosuggestion widgets
|
||||
_zsh_autosuggest_start() {
|
||||
add-zsh-hook -d precmd _zsh_autosuggest_start
|
||||
|
||||
_zsh_autosuggest_feature_detect
|
||||
_zsh_autosuggest_bind_widgets
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user