> finish
> endif
>
> let b:script_loaded = 1
If you actually use this code to prevent a plugin from being reloaded,
it most likely didn't work anyway because you're setting a buffer
local variable.
This should rather be:
if &cp || exists("g:loaded_PLUGIN_NAME")
finish
endif
let g:loaded_PLUGIN_NAME = VERSION_NUMBER
You could insert a
call inputdialog("It's me")
in the file to get notified when it's actually loaded.
--
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
No comments:
Post a Comment