2024-02-23 22:15:50 +00:00
|
|
|
require('flutter-tools').setup {
|
|
|
|
debugger = { -- integrate with nvim dap + install dart code debugger
|
|
|
|
enabled = true,
|
|
|
|
run_via_dap = true,
|
|
|
|
exception_breakpoints = {},
|
|
|
|
register_configurations = function(paths)
|
|
|
|
require("dap").configurations.dart = {
|
|
|
|
{
|
|
|
|
type = "dart",
|
|
|
|
request = "launch",
|
|
|
|
name = "Launch Flutter Program",
|
|
|
|
program = "./lib/main.dart",
|
|
|
|
cwd = "${workspaceFolder}",
|
|
|
|
}
|
|
|
|
}
|
|
|
|
end,
|
|
|
|
},
|
2024-10-01 10:06:34 +00:00
|
|
|
lsp = {
|
|
|
|
settings = {
|
|
|
|
analysisExcludedFolders = {},
|
|
|
|
},
|
|
|
|
},
|
2024-02-23 22:15:50 +00:00
|
|
|
}
|