We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e82e2d0 commit d59ce0fCopy full SHA for d59ce0f
zsh-syntax-highlighting.zsh
@@ -123,7 +123,7 @@ _zsh_highlight()
123
typeset -r ret
124
125
# $region_highlight should be predefined, either by zle or by the test suite's mock (non-special) array.
126
- (( ${+region_highlight} )) || {
+ (( ${+region_highlight[@]} )) || {
127
echo >&2 'zsh-syntax-highlighting: error: $region_highlight is not defined'
128
echo >&2 'zsh-syntax-highlighting: (Check whether zsh-syntax-highlighting was installed according to the instructions.)'
129
return $ret
0 commit comments