Comment #3 on issue 253 by [email protected]: tab-completion on the cmdline
does not appear to work for autoload functions
https://code.google.com/p/vim/issues/detail?id=253
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 '#'. */
--
You received this message because this project is configured to send all
issue notifications to this address.
You may adjust your notification preferences at:
https://code.google.com/hosting/settings
--
--
You received this message from the "vim_dev" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php
---
You received this message because you are subscribed to the Google Groups "vim_dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/d/optout.