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.
diff --git a/src/testdir/test_mapping.vim b/src/testdir/test_mapping.vim
index 71548ed..b189296 100644
--- a/src/testdir/test_mapping.vim
+++ b/src/testdir/test_mapping.vim
@@ -239,6 +239,12 @@
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
@@ -292,7 +298,7 @@
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')})