mirror of
https://github.com/vim/vim.git
synced 2025-09-27 04:14:06 -04:00
updated for version 7.4.549
Problem: Function name not recognized correctly when inside a function. Solution: Don't check for an alpha character.
This commit is contained in:
11
src/eval.c
11
src/eval.c
@@ -22283,14 +22283,11 @@ ex_function(eap)
|
||||
if (*p == '!')
|
||||
p = skipwhite(p + 1);
|
||||
p += eval_fname_script(p);
|
||||
if (ASCII_ISALPHA(*p))
|
||||
vim_free(trans_function_name(&p, TRUE, 0, NULL));
|
||||
if (*skipwhite(p) == '(')
|
||||
{
|
||||
vim_free(trans_function_name(&p, TRUE, 0, NULL));
|
||||
if (*skipwhite(p) == '(')
|
||||
{
|
||||
++nesting;
|
||||
indent += 2;
|
||||
}
|
||||
++nesting;
|
||||
indent += 2;
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user