mirror of
https://github.com/zdharma-continuum/fast-syntax-highlighting.git
synced 2026-09-10 07:16:18 -04:00
Use 'typeset -g' to avoid warning when WARN_CREATE_GLOBAL is set. (#36)
This commit is contained in:
parent
370106d95d
commit
721be2a935
|
|
@ -318,7 +318,7 @@ add-zsh-hook preexec _zsh_highlight_preexec_hook 2>/dev/null || {
|
|||
print -r -- "$@" >>! /tmp/reply
|
||||
}
|
||||
|
||||
ZSH_HIGHLIGHT_MAXLENGTH=10000
|
||||
typeset -g ZSH_HIGHLIGHT_MAXLENGTH=10000
|
||||
|
||||
# Load zsh/parameter module if available
|
||||
zmodload zsh/parameter 2>/dev/null
|
||||
|
|
|
|||
Loading…
Reference in a new issue