mirror of
https://github.com/zsh-users/zsh-autosuggestions.git
synced 2024-11-18 09:51:06 +01:00
Fix quotes for code style consistency
This commit is contained in:
parent
b9345ebceb
commit
b6396ea2eb
2 changed files with 2 additions and 2 deletions
|
@ -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 a new issue