mirror of
https://github.com/zsh-users/zsh-autosuggestions.git
synced 2026-10-02 16:03:50 +02: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:
1 parent
75e850577d
commit
4321fc097c
2 files changed
-4
No files matched your search
@@ -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
|
||||
|
||||
|
||||
Reference in new issue
Block a user