mirror of
https://github.com/neovim/neovim.git
synced 2025-10-09 19:36:40 +00:00
vim-patch:8.1.1857: cannot use modifier with multi-byte character
Problem: Cannot use modifier with multi-byte character.
Solution: Allow using a multi-byte character, although it doesn't work
everywhere.
c8fd33d18b
This commit is contained in:
@@ -229,6 +229,12 @@ func Test_map_meta_quotes()
|
||||
iunmap <M-">
|
||||
endfunc
|
||||
|
||||
func Test_map_meta_multibyte()
|
||||
imap <M-á> foo
|
||||
call assert_equal('foo', maparg("\<M-á>", 'i'))
|
||||
iunmap <M-á>
|
||||
endfunc
|
||||
|
||||
func Test_abbr_after_line_join()
|
||||
new
|
||||
abbr foo bar
|
||||
@@ -282,7 +288,7 @@ func Test_map_timeout_with_timer_interrupt()
|
||||
let g:val = 0
|
||||
nnoremap \12 :let g:val = 1<CR>
|
||||
nnoremap \123 :let g:val = 2<CR>
|
||||
set timeout timeoutlen=1000
|
||||
set timeout timeoutlen=100
|
||||
|
||||
func ExitCb(job, status)
|
||||
let g:timer = timer_start(1, {_ -> feedkeys("3\<Esc>", 't')})
|
||||
|
Reference in New Issue
Block a user