The slowest part of plugin/splitjoin.vim is defining the setting defaults (though it's still pretty fast). We can make this faster by just defining the dict directly.
Moving the main entry points out of the plugin directory is a very, very minor improvement, if any. But it's a good chunk of code that has always sat a bit weirdly in the plugin file, so it doesn't hurt to move it to autoload, too.
The slowest part of
plugin/splitjoin.vim
is defining the setting defaults (though it's still pretty fast). We can make this faster by just defining the dict directly.Moving the main entry points out of the plugin directory is a very, very minor improvement, if any. But it's a good chunk of code that has always sat a bit weirdly in the plugin file, so it doesn't hurt to move it to autoload, too.