mirror of
https://github.com/vim/vim.git
synced 2025-09-23 03:43:49 -04:00
updated for version 7.0181
This commit is contained in:
11
src/eval.c
11
src/eval.c
@@ -17667,7 +17667,18 @@ trans_function_name(pp, skip, flags, fdp)
|
||||
}
|
||||
|
||||
if (lv.ll_exp_name != NULL)
|
||||
{
|
||||
len = STRLEN(lv.ll_exp_name);
|
||||
if (lead <= 2 && lv.ll_name == lv.ll_exp_name
|
||||
&& STRNCMP(lv.ll_name, "s:", 2) == 0)
|
||||
{
|
||||
/* When there was "s:" already or the name expanded to get a
|
||||
* leading "s:" then remove it. */
|
||||
lv.ll_name += 2;
|
||||
len -= 2;
|
||||
lead = 2;
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
if (lead == 2) /* skip over "s:" */
|
||||
|
Reference in New Issue
Block a user