mirror of
https://github.com/zsh-users/zsh-syntax-highlighting.git
synced 2025-12-04 21:56:45 +01:00
parent
bde1c83af1
commit
3576df29aa
1 changed files with 1 additions and 0 deletions
|
|
@ -57,6 +57,7 @@ _zsh_highlight()
|
||||||
local ret=$?
|
local ret=$?
|
||||||
|
|
||||||
setopt localoptions warncreateglobal
|
setopt localoptions warncreateglobal
|
||||||
|
local REPLY # don't leak $REPLY into global scope
|
||||||
|
|
||||||
# Do not highlight if there are more than 300 chars in the buffer. It's most
|
# Do not highlight if there are more than 300 chars in the buffer. It's most
|
||||||
# likely a pasted command or a huge list of files in that case..
|
# likely a pasted command or a huge list of files in that case..
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue