Closed somini closed 8 years ago
I've seen this convention in other plugins but never understood its purpose. After a quick googling it makes more sense now. Thanks!
Not just that, the plugin/*.vim
files are sourced everytime you enter a new buffer.
Oh are you sure? I thought the plugin/*.vim
files are only sourced once on startup. I just tried adding some echom
lines to it and am only seeing my text echo'd once
You are right, I confused that with ftplugin.
Also, the de-facto default of having a
loaded_<PluginName>
variable helps a lot when checking if the plugin loaded.