Closed GoogleCodeExporter closed 9 years ago
I posted a patch here:
https://groups.google.com/d/msg/vim_dev/aBiMz2vVbMk/vEEu98F0KwoJ
Original comment by chrisbr...@googlemail.com
on 8 Oct 2014 at 8:19
Fixed by patch 7.4.516
Original comment by brammool...@gmail.com
on 12 Nov 2014 at 7:10
Thanks!
It works now for "call", but not for e.g. "echo".
The following patch fixes this, but is likely not the correct way:
diff --git i/src/eval.c w/src/eval.c
index fe7289a..9d8f42a 100644
--- i/src/eval.c
+++ w/src/eval.c
@@ -3369,7 +3369,7 @@ set_context_for_expression(xp, arg, cmdidx)
xp->xp_context = EXPAND_EXPRESSION;
}
else if ((c == '<' || c == '#')
- && xp->xp_context == EXPAND_FUNCTIONS
+ /* && xp->xp_context == EXPAND_FUNCTIONS */
&& vim_strchr(xp->xp_pattern, '(') == NULL)
{
/* Function name can start with "<SNR>" and contain '#'. */
Original comment by dhahler@gmail.com
on 15 Nov 2014 at 7:06
Original issue reported on code.google.com by
dhahler@gmail.com
on 26 Aug 2014 at 11:28