Add dartls

This commit is contained in:
Martin Lasson 2025-02-04 23:31:23 +01:00
parent 77e2a2e8f1
commit bcd0bb9a71

View file

@ -0,0 +1,18 @@
return {
cmd = { "dart", "language-server", "--protocol=lsp" },
filetypes = { "dart" },
root_markers = { "pubspec.yaml" },
init_options = {
onlyAnalyzeProjectsWithOpenFiles = true,
suggestFromUnimportedLibraries = true,
closingLabels = true,
outline = true,
flutterOutline = true,
},
settings = {
dart = {
completeFunctionCalls = true,
showTodos = true,
},
},
}