Explorar el Código

WARN_CREATE_GLOBAL: Plug yet another instance.

pull/177/merge
Daniel Shahaf hace 9 años
padre
commit
3fdaec3d4a
Se han modificado 1 ficheros con 2 adiciones y 2 borrados
  1. +2
    -2
      zsh-syntax-highlighting.zsh

+ 2
- 2
zsh-syntax-highlighting.zsh Ver fichero

@ -243,8 +243,8 @@ _zsh_highlight_load_highlighters "${ZSH_HIGHLIGHT_HIGHLIGHTERS_DIR:-${${0:A}:h}/
# Reset scratch variables when commandline is done.
_zsh_highlight_preexec_hook()
{
_ZSH_HIGHLIGHT_PRIOR_BUFFER=
_ZSH_HIGHLIGHT_PRIOR_CURSOR=
typeset -g _ZSH_HIGHLIGHT_PRIOR_BUFFER=
typeset -gi _ZSH_HIGHLIGHT_PRIOR_CURSOR=
}
autoload -U add-zsh-hook
add-zsh-hook preexec _zsh_highlight_preexec_hook 2>/dev/null || {

Cargando…
Cancelar
Guardar