mirror of
https://github.com/neovim/neovim.git
synced 2024-12-21 03:35:02 -07:00
337b6179df
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. |
||
---|---|---|
.. | ||
autochdir_spec.lua | ||
defaults_spec.lua | ||
pastetoggle_spec.lua | ||
shortmess_spec.lua |