mirror of
https://github.com/zsh-users/zsh-syntax-highlighting.git
synced 2025-12-04 21:56:45 +01:00
Added quotes to suppress error
This commit is contained in:
parent
bb0d575942
commit
966eb851ca
1 changed files with 1 additions and 1 deletions
|
|
@ -107,7 +107,7 @@ typeset -gA ZSH_HIGHLIGHT_STYLES
|
||||||
# Returns 0 if the buffer has changed since _zsh_highlight was last called.
|
# Returns 0 if the buffer has changed since _zsh_highlight was last called.
|
||||||
_zsh_highlight_buffer_modified()
|
_zsh_highlight_buffer_modified()
|
||||||
{
|
{
|
||||||
[[ ${_ZSH_HIGHLIGHT_PRIOR_BUFFER:-} != $BUFFER ]]
|
[[ "${_ZSH_HIGHLIGHT_PRIOR_BUFFER:-}" != "$BUFFER" ]]
|
||||||
}
|
}
|
||||||
|
|
||||||
# Whether the cursor has moved or not.
|
# Whether the cursor has moved or not.
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue