]> granicus.if.org Git - vim/commitdiff
patch 8.1.2165: mapping test fails on Mac v8.1.2165
authorBram Moolenaar <Bram@vim.org>
Wed, 16 Oct 2019 20:27:49 +0000 (22:27 +0200)
committerBram Moolenaar <Bram@vim.org>
Wed, 16 Oct 2019 20:27:49 +0000 (22:27 +0200)
Problem:    Mapping test fails on Mac.
Solution:   Remove the default Mac mapping.

src/testdir/test_mapping.vim
src/version.c

index f62d5755ecec772c396f8b220d03cd8bccd48a4b..d3ae6154117447f6e1a42eec9b89f009d22168fa 100644 (file)
@@ -444,6 +444,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
index f6a3817da6cc564a4bc6b57e3ec5a738d8ceb79b..e7ba706b436974b3ea5da5a044d8a44ca96dabcd 100644 (file)
@@ -753,6 +753,8 @@ static char *(features[]) =
 
 static int included_patches[] =
 {   /* Add new patch number below this line */
+/**/
+    2165,
 /**/
     2164,
 /**/