plugins.flutter-tools.settings
Options provided to the require('flutter-tools').setup
function.
Type: attribute set of anything
Default:
{ }
Example:
{
closing_tags = {
highlight = "Comment";
};
debugger = {
enabled = true;
run_via_dap = true;
};
lsp = {
capabilities = {
__raw = ''
function(config)
config.documentFormattingProvider = false
return config
end
'';
};
on_attach = null;
settings = {
enableSnippets = false;
updateImportsOnRename = true;
};
};
widget_guides = {
enabled = false;
};
}
Declared by:
plugins.flutter-tools.settings.flutter_lookup_cmd
The command used to locate the flutter path.
Type: null or string
Default:
null
Example:
"dirname $(which flutter)"
Declared by:
plugins.flutter-tools.settings.flutter_path
Path to the flutter
executable.
This takes priority over the lookup
Type: null or string or raw lua code
Default:
null
Plugin default: null
Declared by:
plugins.flutter-tools.settings.fvm
Takes priority over path, uses <workspace>/.fvm/flutter_sdk
if enabled.
Type: null or boolean or raw lua code
Default:
null
Plugin default: false
Declared by:
plugins.flutter-tools.settings.root_patterns
Patterns to find the root of your flutter project.
Type: null or (list of (string or raw lua code)) or raw lua code
Default:
null
Plugin default:
[
".git"
"pubspec.yaml"
]
Declared by: