mirror of
https://github.com/zsh-users/zsh-autosuggestions.git
synced 2025-02-06 09:55:30 +08:00
Fix quotes for code style consistency
This commit is contained in:
parent
b9345ebceb
commit
b6396ea2eb
@ -168,7 +168,7 @@ _zsh_autosuggest_partial_accept() {
|
||||
# instead of after it. We increment it by 1 to keep the following logic
|
||||
# working even in this case.
|
||||
CURSOR_POS=$CURSOR
|
||||
if [ $KEYMAP = 'vicmd' ]; then
|
||||
if [[ "$KEYMAP" = "vicmd" ]]; then
|
||||
(( CURSOR_POS++ ))
|
||||
fi
|
||||
|
||||
|
@ -446,7 +446,7 @@ _zsh_autosuggest_partial_accept() {
|
||||
# instead of after it. We increment it by 1 to keep the following logic
|
||||
# working even in this case.
|
||||
CURSOR_POS=$CURSOR
|
||||
if [ $KEYMAP = 'vicmd' ]; then
|
||||
if [[ "$KEYMAP" = "vicmd" ]]; then
|
||||
(( CURSOR_POS++ ))
|
||||
fi
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user