diff options
author | Matthew Malcomson <hardenedapple@gmail.com> | 2017-05-31 12:20:06 +0100 |
---|---|---|
committer | Justin M. Keyes <justinkz@gmail.com> | 2017-05-31 13:20:06 +0200 |
commit | 033b1cb7d9837699aba14ca1c0bda0058edc79fd (patch) | |
tree | 69a0dcfec36edeb2d6bab3cf97f022e64a21a518 /src | |
parent | 43f40b8e1acafa55e1c8df7c08c91a042f834f97 (diff) | |
download | rneovim-033b1cb7d9837699aba14ca1c0bda0058edc79fd.tar.gz rneovim-033b1cb7d9837699aba14ca1c0bda0058edc79fd.tar.bz2 rneovim-033b1cb7d9837699aba14ca1c0bda0058edc79fd.zip |
'pastetoggle': Revert support for multi-key value (#6724)
Reverts commit 337b6179df852350b52409fd3806e4b47ab2875b
Closes #6716 at the expense of not being able to use a
multi-key 'pastetoggle' manually.
Multi-key 'pastetoggle' can still be used when inserting the entire
option into the typebuffer at once (though the use here is
questionable).
Also remove those tests to do with waiting for the completion of
'pastetoggle' and mention in the documentation that 'pastetoggle'
doesn't wait for timeout.
Diffstat (limited to 'src')
-rw-r--r-- | src/nvim/getchar.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nvim/getchar.c b/src/nvim/getchar.c index 382caa8548..4e42042959 100644 --- a/src/nvim/getchar.c +++ b/src/nvim/getchar.c @@ -1908,7 +1908,7 @@ static int vgetorpeek(int advance) } if ((mp == NULL || max_mlen >= mp_match_len) - && keylen != KEYLEN_PART_MAP && keylen != KEYLEN_PART_KEY) { + && keylen != KEYLEN_PART_MAP) { // No matching mapping found or found a non-matching mapping that // matches at least what the matching mapping matched keylen = 0; |