Fix errors with non-reserved-word typeset.
Follow-up to 908c4fe150
.
Intended to fix fix zsh-users/zsh-syntax-highlighting#206.
This commit is contained in:
parent
cb5589db73
commit
dd12dde93a
@ -126,7 +126,7 @@ _zsh_highlight()
|
||||
|
||||
|
||||
} always {
|
||||
typeset -g _ZSH_HIGHLIGHT_PRIOR_BUFFER=$BUFFER
|
||||
typeset -g _ZSH_HIGHLIGHT_PRIOR_BUFFER="$BUFFER"
|
||||
typeset -gi _ZSH_HIGHLIGHT_PRIOR_CURSOR=$CURSOR
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user