mirror of
https://github.com/zsh-users/zsh-syntax-highlighting.git
synced 2025-01-30 09:47:13 +08:00
driver: Adjust zsh version for probing for pattern match bug
This commit is contained in:
parent
28e661bbc8
commit
f2ba507bbc
@ -56,7 +56,7 @@ fi
|
|||||||
# Use workaround for bug in ZSH?
|
# Use workaround for bug in ZSH?
|
||||||
# zsh-users/zsh@48cadf4 http://www.zsh.org/mla/workers//2017/msg00034.html
|
# zsh-users/zsh@48cadf4 http://www.zsh.org/mla/workers//2017/msg00034.html
|
||||||
autoload -U is-at-least
|
autoload -U is-at-least
|
||||||
if is-at-least 5.3.2; then
|
if is-at-least 5.4; then
|
||||||
zsh_highlight__pat_static_bug=false
|
zsh_highlight__pat_static_bug=false
|
||||||
else
|
else
|
||||||
zsh_highlight__pat_static_bug=true
|
zsh_highlight__pat_static_bug=true
|
||||||
|
Loading…
Reference in New Issue
Block a user