plugins.flutter-tools.settings.lsp.capabilities
LSP capabilities.
You can use the ones of lsp_status
or you can specify a function to deactivate or change
or control how the config is created.
Type: null or (attribute set of anything)
Default:
null
Example:
lib.nixvim.mkRaw "function(config)\n config.specificThingIDontWant = false\n return config\nend\n"
Declared by:
plugins.flutter-tools.settings.lsp.on_attach
The function to call when attaching the language server.
Type: null or raw lua code
Default:
null
Declared by:
plugins.flutter-tools.settings.lsp.settings
LSP settings. See here the link below for details on each option.
Type: null or (attribute set of anything)
Default:
null
Example:
{
analysisExcludedFolders = [
"<path-to-flutter-sdk-packages>"
];
completeFunctionCalls = true;
enableSnippets = true;
renameFilesWithClasses = "prompt";
showTodos = true;
updateImportsOnRename = true;
}
Declared by: