forked from aniani/vim
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
@@ -2102,7 +2102,7 @@ did_set_pastetoggle(optset_T *args UNUSED)
|
||||
// translate key codes like in a mapping
|
||||
if (*p_pt)
|
||||
{
|
||||
(void)replace_termcodes(p_pt, &p,
|
||||
(void)replace_termcodes(p_pt, &p, 0,
|
||||
REPTERM_FROM_PART | REPTERM_DO_LT, NULL);
|
||||
if (p != NULL)
|
||||
{
|
||||
|
Reference in New Issue
Block a user