File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -163,7 +163,7 @@ _zsh_highlight()
163
163
# On zsh version 5.8.0.2 between the aforementioned commit and the
164
164
# first Config/version.mk bump after it (which, at the time of writing,
165
165
# is yet to come), this condition will false negative.
166
- if is-at-least 5.8.0.3; then
166
+ if is-at-least 5.8.0.3 $ZSH_VERSION .0.0 ; then
167
167
integer -gr zsh_highlight__memo_feature=1
168
168
else
169
169
integer -gr zsh_highlight__memo_feature=0
@@ -414,7 +414,7 @@ _zsh_highlight_call_widget()
414
414
#
415
415
# See _zsh_highlight for the magic version number. (The use of 5.8.0.2
416
416
# rather than 5.8.0.3 as in the _zsh_highlight is deliberate.)
417
- if is-at-least 5.8.0.2 && _zsh_highlight__function_callable_p add-zle-hook-widget
417
+ if is-at-least 5.8.0.2 $ZSH_VERSION .0.0 && _zsh_highlight__function_callable_p add-zle-hook-widget
418
418
then
419
419
autoload -U add-zle-hook-widget
420
420
_zsh_highlight__zle-line-finish () {
You can’t perform that action at this time.
0 commit comments