diff options
author | Jan Edmund Lazo <jan.lazo@mail.utoronto.ca> | 2019-08-16 21:15:33 -0400 |
---|---|---|
committer | Jan Edmund Lazo <jan.lazo@mail.utoronto.ca> | 2019-08-16 21:20:34 -0400 |
commit | 4aa3473b8800df64aeec25012976e603ac66c9f6 (patch) | |
tree | 4264580d79d69ca3c87e960a11e2f6ae844684cb | |
parent | e56f62e9a7ba9ca2be7f86451390b25897b02a91 (diff) | |
download | rneovim-4aa3473b8800df64aeec25012976e603ac66c9f6.tar.gz rneovim-4aa3473b8800df64aeec25012976e603ac66c9f6.tar.bz2 rneovim-4aa3473b8800df64aeec25012976e603ac66c9f6.zip |
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.
https://github.com/vim/vim/commit/c8fd33d18b49c3246f33782dd7b4a1c87504dd5f
-rw-r--r-- | src/nvim/testdir/test_mapping.vim | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/src/nvim/testdir/test_mapping.vim b/src/nvim/testdir/test_mapping.vim index 9f253604ed..43bab8ae5c 100644 --- a/src/nvim/testdir/test_mapping.vim +++ b/src/nvim/testdir/test_mapping.vim @@ -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')}) |