Am 06.01.2011 18:30, schrieb Dominique Pellé:
Hi
Vim-7.3.98 allows function completion when using
expression register "= but it does not work when used
inside a macro.
Example: define a sample macro with completion:
$ vim -u NONE -N
qqi<CTRL-R>=le<Tab>@")<CR><Esc>q
So far so good. Pressing<Tab> while defining
the macro completed to =len(
Now try to execute the macro and observe an error:
@q
E121: Undefined variable: le
Completion does not happen when executing the macro.
I don't think that's expected. Or is there any reason for
not allowing completion inside macros?
-- Dominique
Completion can be enabled in macros:
:h 'wildchar'
:h 'wildcharm'
--
Andy
--
You received this message from the "vim_use" 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