neovim/test/functional/options
Matthew Malcomson 337b6179df 'pastetoggle': support value >1 char (#6421)
If we `set pastetoggle=abcde`, and manually type it, then `vgetorpeek()`
sees part of the option before it has all been inserted into the
typebuffer.
To signify this it sets `keylen = KEYLEN_PART_KEY`, but the condition
about whether to return the current key from `vgetorpeek()` only checks
for `keylen = KEYLEN_PART_MAP`.
Add a check for `KEYLEN_PART_KEY` to account for the `'pastetoggle'`
option.
2017-04-01 21:50:29 +02:00
..
autochdir_spec.lua Mark some functional tests as pending in Windows 2016-08-26 08:21:41 +01:00
defaults_spec.lua defaults: 'showcmd', 'belloff', 'ruler' 2017-03-16 18:44:10 +01:00
pastetoggle_spec.lua 'pastetoggle': support value >1 char (#6421) 2017-04-01 21:50:29 +02:00
shortmess_spec.lua Mark some functional tests as pending in Windows 2016-08-26 08:21:41 +01:00