mirror of
https://github.com/neovim/neovim.git
synced 2024-12-31 17:13:26 -07:00
vim-patch:9.0.0018: going over the end of the typahead (#20269)
Problem: Going over the end of the typahead.
Solution: Put a NUL after the typeahead.
27efc62f5d
check_termcode() is N/A.
This commit is contained in:
parent
ad1f353fe1
commit
37a71d1f28
@ -1127,4 +1127,14 @@ func Test_map_after_timed_out_nop()
|
|||||||
call delete('Xtest_map_after_timed_out_nop')
|
call delete('Xtest_map_after_timed_out_nop')
|
||||||
endfunc
|
endfunc
|
||||||
|
|
||||||
|
func Test_using_past_typeahead()
|
||||||
|
nnoremap :00 0
|
||||||
|
exe "norm :set \x80\xfb0=0\<CR>"
|
||||||
|
exe "sil norm :0\x0f\<C-U>\<CR>"
|
||||||
|
|
||||||
|
exe "norm :set \x80\xfb0=\<CR>"
|
||||||
|
nunmap :00
|
||||||
|
endfunc
|
||||||
|
|
||||||
|
|
||||||
" vim: shiftwidth=2 sts=2 expandtab
|
" vim: shiftwidth=2 sts=2 expandtab
|
||||||
|
Loading…
Reference in New Issue
Block a user