aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/testdir
diff options
context:
space:
mode:
authorJames McCoy <jamessan@jamessan.com>2017-04-15 13:54:40 -0400
committerJames McCoy <jamessan@jamessan.com>2017-04-19 22:26:30 -0400
commitcb02137dfac7357650a2e9cc32acb66326e59058 (patch)
treee196f6fa8b9c03009f383349c86b5ca79acf7199 /src/nvim/testdir
parentac05c8585c0837dd47568335486b7d815d15dec4 (diff)
downloadrneovim-cb02137dfac7357650a2e9cc32acb66326e59058.tar.gz
rneovim-cb02137dfac7357650a2e9cc32acb66326e59058.tar.bz2
rneovim-cb02137dfac7357650a2e9cc32acb66326e59058.zip
vim-patch:7.4.2209
Problem: Cannot map <M-">. (Stephen Riehm) Solution: Solve the memory access problem in another way. (Dominique Pelle) Allow for using <M-\"> in a string. https://github.com/vim/vim/commit/35a4cfa200917dd171b1fff3cd5b6cee9add673d
Diffstat (limited to 'src/nvim/testdir')
-rw-r--r--src/nvim/testdir/test_mapping.vim8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/nvim/testdir/test_mapping.vim b/src/nvim/testdir/test_mapping.vim
index 6b313ff54f..7f93ddd56e 100644
--- a/src/nvim/testdir/test_mapping.vim
+++ b/src/nvim/testdir/test_mapping.vim
@@ -150,3 +150,11 @@ func Test_break_undo()
call assert_equal('new line here', getline(line('$') - 1))
set nomodified
endfunc
+
+func Test_map_meta_quotes()
+ imap <M-"> foo
+ call feedkeys("Go-\<M-\">-\<Esc>", "xt")
+ call assert_equal("-foo-", getline('$'))
+ set nomodified
+ iunmap <M-">
+endfunc