updated for version 7.4.549
Problem: Function name not recognized correctly when inside a function.
Solution: Don't check for an alpha character.
diff --git a/src/eval.c b/src/eval.c
index 5c584de..fbe824e 100644
--- a/src/eval.c
+++ b/src/eval.c
@@ -22283,14 +22283,11 @@
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;
}
}