New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
.configure should be .setup #112
Comments
The history of why plugins use In terms of the name |
Works for me. I do actually miss when merely installing a .vim script with |
@RRethy Historical baggage aside, a single entry point that kicks the plugin into action would give users better control over load order and lazy loading.
Most plugins provide a plugin spec that does this part automatically like so: {
'RRethy/vim-illuminate',
config = function()
require 'illuminate'.setup { ... }
end
}, It's worth noting that in order to disable setup-less plugins on some plugin managers uninstalling is the only option, in contrast with the above it's as easy as commenting It doesn't have to be named Installing and starting a plugin should be 2 separate things, Kindly reconsider. |
Your description doesn't match the code sample, and even if it did, wouldn't that mean it's the same as not having the setup method in the first place just with extra steps?
That's a poorly written plugin manager or a misconfigured plugin manager. Neovim has the ability to do this builtin with
It is. Installing vim-illuminate won't start the plugin. Loading the plugin will however start the plugin which conforms to the Neovim user manual. |
Most Neovim Lua plugins are choosing to name their init entry point as
.setup
, not.configure
, especially in the nvim-lsp ecosystem.The text was updated successfully, but these errors were encountered: