mirror of
https://github.com/vim/vim.git
synced 2025-09-29 04:34:16 -04:00
patch 9.0.1687: mapset() not properly handling script ID
Problem: mapset() not properly handling script ID Solution: replace_termcodes() may accept a script ID closes: #12699 closes: #12697 Signed-off-by: Christian Brabandt <cb@256bit.org> Co-authored-by: zeertzjq <zeertzjq@outlook.com>
This commit is contained in:
committed by
Christian Brabandt
parent
cd4e4e169a
commit
7e0bae024d
@@ -990,7 +990,7 @@ uc_add_command(
|
||||
char_u *rep_buf = NULL;
|
||||
garray_T *gap;
|
||||
|
||||
replace_termcodes(rep, &rep_buf, 0, NULL);
|
||||
replace_termcodes(rep, &rep_buf, 0, 0, NULL);
|
||||
if (rep_buf == NULL)
|
||||
{
|
||||
// can't replace termcodes - try using the string as is
|
||||
|
Reference in New Issue
Block a user