I'd like to have a Funcref provide completions, but
this seems not to be supported yet:
function! TestComplete(arglead, cmdline, curpos)
return "foo\nbar"
endfunction
let TestFuncref = function("TestComplete")
command! -nargs=1 -complete=custom,TestFuncref Testcmd
:Testcmd <Tab>
E117: Unknown function: TestFuncref
:echo TestFuncref(1,2,3)
foo
bar
Am I missing something?
--
Andy
--~--~---------~--~----~------------~-------~--~----~
You received this message from the "vim_dev" maillist.
For more information, visit http://www.vim.org/maillist.php
-~----------~----~----~----~------~----~------~--~---