diff --git a/zsh-syntax-highlighting.zsh b/zsh-syntax-highlighting.zsh index 06b569b..526a54d 100644 --- a/zsh-syntax-highlighting.zsh +++ b/zsh-syntax-highlighting.zsh @@ -217,7 +217,7 @@ _zsh_highlight-zle-buffer() { local clean_event for event in $(zle -la); do case $event in - _*|orig-*|.run-help) + _*|orig-*|.which-command) ;; accept-and-menu-complete) eval "$event() { builtin zle .$event && _zsh_highlight-zle-buffer } ; zle -N $event"