mirror of
https://github.com/zsh-users/zsh-autosuggestions.git
synced 2024-11-18 09:51:06 +01: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
2 changed files with 0 additions and 4 deletions
|
@ -5,8 +5,6 @@
|
||||||
|
|
||||||
# Start the autosuggestion widgets
|
# Start the autosuggestion widgets
|
||||||
_zsh_autosuggest_start() {
|
_zsh_autosuggest_start() {
|
||||||
add-zsh-hook -d precmd _zsh_autosuggest_start
|
|
||||||
|
|
||||||
_zsh_autosuggest_feature_detect
|
_zsh_autosuggest_feature_detect
|
||||||
_zsh_autosuggest_bind_widgets
|
_zsh_autosuggest_bind_widgets
|
||||||
|
|
||||||
|
|
|
@ -609,8 +609,6 @@ _zsh_autosuggest_async_start() {
|
||||||
|
|
||||||
# Start the autosuggestion widgets
|
# Start the autosuggestion widgets
|
||||||
_zsh_autosuggest_start() {
|
_zsh_autosuggest_start() {
|
||||||
add-zsh-hook -d precmd _zsh_autosuggest_start
|
|
||||||
|
|
||||||
_zsh_autosuggest_feature_detect
|
_zsh_autosuggest_feature_detect
|
||||||
_zsh_autosuggest_bind_widgets
|
_zsh_autosuggest_bind_widgets
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue