On 2009-02-03 07:48 (+0200), Teemu Likonen wrote: > [...] for the Vim tip page the fix would be to remove the > -complete=file option: > > command! -nargs=+ Shell call s:RunShellCommand(<q-args>) > > And we need to remove the examples with % expansion.
...or we just tell people that % expansion doesn't work with empty buffers. Vim prints the error E499 when parsing the command line, not when executing the commands in s:RunShellCommand(). --~--~---------~--~----~------------~-------~--~----~ You received this message from the "vim_use" maillist. For more information, visit http://www.vim.org/maillist.php -~----------~----~----~----~------~----~------~--~---
