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:
Jan Edmund Lazo
2019-08-16 21:15:33 -04:00
parent e56f62e9a7
commit 4aa3473b88

View File

@@ -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')})