aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorzeertzjq <zeertzjq@outlook.com>2022-04-25 14:38:28 +0800
committerzeertzjq <zeertzjq@outlook.com>2022-04-29 15:51:03 +0800
commitb5837e55e69602ce9716c8c04b1e2cb3188be8a5 (patch)
tree4f91620732850ee599059ac7cb2f5e843b316b54
parentc3634a02613459c85c228c400513835361ecc44a (diff)
downloadrneovim-b5837e55e69602ce9716c8c04b1e2cb3188be8a5.tar.gz
rneovim-b5837e55e69602ce9716c8c04b1e2cb3188be8a5.tar.bz2
rneovim-b5837e55e69602ce9716c8c04b1e2cb3188be8a5.zip
vim-patch:8.1.2165: mapping test fails on Mac
Problem: Mapping test fails on Mac. Solution: Remove the default Mac mapping. https://github.com/vim/vim/commit/4f2f61a014e80217a2d6ac476c8f94e250a3d0ff
-rw-r--r--src/nvim/testdir/test_mapping.vim3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/nvim/testdir/test_mapping.vim b/src/nvim/testdir/test_mapping.vim
index c46336460d..604ae8a3f9 100644
--- a/src/nvim/testdir/test_mapping.vim
+++ b/src/nvim/testdir/test_mapping.vim
@@ -430,6 +430,9 @@ func Test_error_in_map_expr()
endfunc
func Test_list_mappings()
+ " Remove default Mac mapping
+ silent! iunmap <D-v>
+
inoremap <C-M> CtrlM
inoremap <A-S> AltS
inoremap <S-/> ShiftSlash