blob: a0de0fd567752b00f2d96a29857c2be5dc70ae2f (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
if require("lv-utils").check_lsp_client_active "dartls" then
return
end
require("lspconfig").dartls.setup {
cmd = { "dart", O.lang.dart.sdk_path, "--lsp" },
on_attach = require("lsp").common_on_attach,
init_options = {
closingLabels = false,
flutterOutline = false,
onlyAnalyzeProjectsWithOpenFiles = false,
outline = false,
suggestFromUnimportedLibraries = true,
},
}
|