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 1a9264b commit c7caf57Copy full SHA for c7caf57
zsh-syntax-highlighting.zsh
@@ -219,7 +219,8 @@ _zsh_highlight()
219
[[ -n ${ZSH_HIGHLIGHT_MAXLENGTH:-} ]] && [[ $#BUFFER -gt $ZSH_HIGHLIGHT_MAXLENGTH ]] && return $ret
220
221
# Do not highlight if there are pending inputs (copy/paste).
222
- [[ $PENDING -gt 0 ]] && return $ret
+ (( KEYS_QUEUED_COUNT > 0 )) && return $ret
223
+ (( PENDING > 0 )) && return $ret
224
225
{
226
local cache_place
0 commit comments