aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/ex_docmd.c
diff options
context:
space:
mode:
authorJustin M. Keyes <justinkz@gmail.com>2017-07-02 13:21:38 +0200
committerJustin M. Keyes <justinkz@gmail.com>2017-07-08 16:34:35 +0200
commit0ea7e45bc1d1881f505da2b77e0b3e4eb56f12fe (patch)
tree4248c49bec3924a7faa974535aa7de2df0d7d88b /src/nvim/ex_docmd.c
parent78c5201234e478ff8f648adea95be18ca588a9cd (diff)
downloadrneovim-0ea7e45bc1d1881f505da2b77e0b3e4eb56f12fe.tar.gz
rneovim-0ea7e45bc1d1881f505da2b77e0b3e4eb56f12fe.tar.bz2
rneovim-0ea7e45bc1d1881f505da2b77e0b3e4eb56f12fe.zip
'cpoptions': remove "<" flag; ignore <special>
Closes #6937 "nvim_get_keymap output is unreliable"
Diffstat (limited to 'src/nvim/ex_docmd.c')
-rw-r--r--src/nvim/ex_docmd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nvim/ex_docmd.c b/src/nvim/ex_docmd.c
index af8845de87..5d7246581c 100644
--- a/src/nvim/ex_docmd.c
+++ b/src/nvim/ex_docmd.c
@@ -4747,7 +4747,7 @@ static int uc_add_command(char_u *name, size_t name_len, char_u *rep,
char_u *rep_buf = NULL;
garray_T *gap;
- replace_termcodes(rep, STRLEN(rep), &rep_buf, false, false, false,
+ replace_termcodes(rep, STRLEN(rep), &rep_buf, false, false, true,
CPO_TO_CPO_FLAGS);
if (rep_buf == NULL) {
/* Can't replace termcodes - try using the string as is */