aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/eval.c
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/eval.c
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/eval.c')
-rw-r--r--src/nvim/eval.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nvim/eval.c b/src/nvim/eval.c
index 60c4e725b7..9f56d8db0c 100644
--- a/src/nvim/eval.c
+++ b/src/nvim/eval.c
@@ -4764,7 +4764,7 @@ static int get_string_tv(char_u **arg, typval_T *rettv, int evaluate)
// Special key, e.g.: "\<C-W>"
case '<':
- extra = trans_special((const char_u **) &p, STRLEN(p), name, true);
+ extra = trans_special((const char_u **)&p, STRLEN(p), name, true, true);
if (extra != 0) {
name += extra;
break;