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:
Daniel Shahaf 2015-09-25 17:53:22 +00:00
parent cb5589db73
commit dd12dde93a

View file

@ -126,7 +126,7 @@ _zsh_highlight()
} always { } always {
typeset -g _ZSH_HIGHLIGHT_PRIOR_BUFFER=$BUFFER typeset -g _ZSH_HIGHLIGHT_PRIOR_BUFFER="$BUFFER"
typeset -gi _ZSH_HIGHLIGHT_PRIOR_CURSOR=$CURSOR typeset -gi _ZSH_HIGHLIGHT_PRIOR_CURSOR=$CURSOR
} }
} }