mirror of
https://github.com/zsh-users/zsh-syntax-highlighting.git
synced 2026-03-04 13:25:00 +08:00
@@ -101,7 +101,7 @@ _zsh_highlight()
|
|||||||
typeset -r zsyh_user_options
|
typeset -r zsyh_user_options
|
||||||
|
|
||||||
emulate -L zsh
|
emulate -L zsh
|
||||||
setopt localoptions warncreateglobal
|
setopt localoptions warncreateglobal nobashrematch
|
||||||
local REPLY # don't leak $REPLY into global scope
|
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
|
||||||
|
|||||||
Reference in New Issue
Block a user