mirror of
https://github.com/zsh-users/zsh-autosuggestions.git
synced 2025-02-13 10:05: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
|
# instead of after it. We increment it by 1 to keep the following logic
|
||||||
# working even in this case.
|
# working even in this case.
|
||||||
CURSOR_POS=$CURSOR
|
CURSOR_POS=$CURSOR
|
||||||
if [ $KEYMAP = 'vicmd' ]; then
|
if [[ "$KEYMAP" = "vicmd" ]]; then
|
||||||
(( CURSOR_POS++ ))
|
(( CURSOR_POS++ ))
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
@ -446,7 +446,7 @@ _zsh_autosuggest_partial_accept() {
|
|||||||
# instead of after it. We increment it by 1 to keep the following logic
|
# instead of after it. We increment it by 1 to keep the following logic
|
||||||
# working even in this case.
|
# working even in this case.
|
||||||
CURSOR_POS=$CURSOR
|
CURSOR_POS=$CURSOR
|
||||||
if [ $KEYMAP = 'vicmd' ]; then
|
if [[ "$KEYMAP" = "vicmd" ]]; then
|
||||||
(( CURSOR_POS++ ))
|
(( CURSOR_POS++ ))
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user