diff options
author | Barton E. Schaefer <schaefer@zsh.org> | 2016-11-02 16:27:29 -0700 |
---|---|---|
committer | Barton E. Schaefer <schaefer@zsh.org> | 2016-11-02 16:27:29 -0700 |
commit | ae4c035cded714aea795593fc56442fa921d70fc (patch) | |
tree | 0f697363060588cee175529258d88478980bd3bb /Src/Zle | |
parent | 4bc0d139113c8036be299cc3e0120b062d714579 (diff) | |
download | zsh-ae4c035cded714aea795593fc56442fa921d70fc.tar.gz zsh-ae4c035cded714aea795593fc56442fa921d70fc.tar.xz zsh-ae4c035cded714aea795593fc56442fa921d70fc.zip |
39811: vi-repeat-change must not be the "motion" of vi-change, lest it infinitely repeat itself
Diffstat (limited to 'Src/Zle')
-rw-r--r-- | Src/Zle/zle_vi.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Src/Zle/zle_vi.c b/Src/Zle/zle_vi.c index baa2064e9..1e0402dff 100644 --- a/Src/Zle/zle_vi.c +++ b/Src/Zle/zle_vi.c @@ -780,7 +780,7 @@ int virepeatchange(UNUSED(char **args)) { /* make sure we have a change to repeat */ - if (!vichgbuf || vichgflag) + if (!vichgbuf || vichgflag || virangeflag) return 1; /* restore or update the saved count and buffer */ if (zmod.flags & MOD_MULT) { |