mirror of
https://github.com/zsh-users/zsh-syntax-highlighting.git
synced 2025-12-04 21:56:45 +01:00
WARN_CREATE_GLOBAL: Plug yet another instance.
This commit is contained in:
parent
f4164ac86c
commit
3fdaec3d4a
1 changed files with 2 additions and 2 deletions
|
|
@ -243,8 +243,8 @@ _zsh_highlight_load_highlighters "${ZSH_HIGHLIGHT_HIGHLIGHTERS_DIR:-${${0:A}:h}/
|
||||||
# Reset scratch variables when commandline is done.
|
# Reset scratch variables when commandline is done.
|
||||||
_zsh_highlight_preexec_hook()
|
_zsh_highlight_preexec_hook()
|
||||||
{
|
{
|
||||||
_ZSH_HIGHLIGHT_PRIOR_BUFFER=
|
typeset -g _ZSH_HIGHLIGHT_PRIOR_BUFFER=
|
||||||
_ZSH_HIGHLIGHT_PRIOR_CURSOR=
|
typeset -gi _ZSH_HIGHLIGHT_PRIOR_CURSOR=
|
||||||
}
|
}
|
||||||
autoload -U add-zsh-hook
|
autoload -U add-zsh-hook
|
||||||
add-zsh-hook preexec _zsh_highlight_preexec_hook 2>/dev/null || {
|
add-zsh-hook preexec _zsh_highlight_preexec_hook 2>/dev/null || {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue