nvimdotfiles/after/plugin/lsp/lsp-flutter.lua

24 lines
505 B
Lua
Raw Normal View History

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 = {},
},
},
}