flutter-tools.nvim icon indicating copy to clipboard operation
flutter-tools.nvim copied to clipboard

Remove `config = true` from lazyvim setup

Open B1LLP4RK opened this issue 3 months ago • 1 comments

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?

B1LLP4RK avatar Oct 01 '25 03:10 B1LLP4RK