flutter-tools.nvim
flutter-tools.nvim copied to clipboard
Remove `config = true` from lazyvim setup
In the Readme.md
{
'nvim-flutter/flutter-tools.nvim',
lazy = false,
dependencies = {
'nvim-lua/plenary.nvim',
'stevearc/dressing.nvim', -- optional for vim.ui.select
},
config = true,
}
is the setup given, but I don't understand the purpose of config = true.
In the documentation for lazy.nvim
It is written
config is executed when the plugin loads. The default implementation will automatically run require(MAIN).setup(opts) if opts or config = true is set. Lazy uses several heuristics to determine the plugin's MAIN module automatically based on the plugin's name. (opts is the recommended way to configure plugins).
So is there a reason that the line had to be added?