Selaa lähdekoodia

Fix regression

pull/41/head
Julien Nicoulaud 13 vuotta sitten
vanhempi
commit
f962bdf1e7
2 muutettua tiedostoa jossa 2 lisäystä ja 2 poistoa
  1. +1
    -1
      tests/data/unknown-command.zsh
  2. +1
    -1
      zsh-syntax-highlighting.zsh

+ 1
- 1
tests/data/unknown-command.zsh Näytä tiedosto

@ -1 +1 @@
ls
azertyuiop

+ 1
- 1
zsh-syntax-highlighting.zsh Näytä tiedosto

@ -217,7 +217,7 @@ _zsh_highlight-zle-buffer() {
local clean_event
for event in $(zle -la); do
case $event in
_*|orig-*|.which-command)
_*|orig-*|.run-help|.which-command)
;;
accept-and-menu-complete)
eval "$event() { builtin zle .$event && _zsh_highlight-zle-buffer } ; zle -N $event"

Ladataan…
Peruuta
Tallenna