> As you can see, the autoload script is loaded, even so vim shouldn't
> need to. Is that the way autoloading is supposed to work or is this a
> bug?

The line has to be parsed because how would you know if it isn't
an :endif. Maybe that's when the autoload function is loaded?

Anyway, you still can do:

if 0
        exe 'call test#WarningMsg("This plugin requires Vim 7.3 or
higher")'
        finish
endif

-- 
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

Raspunde prin e-mail lui