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:
Eric Freese 2017-02-17 23:20:04 -07:00
parent 75e850577d
commit 4321fc097c
2 changed files with 0 additions and 4 deletions

View File

@ -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

View File

@ -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