aboutsummaryrefslogtreecommitdiffstats
path: root/lua
diff options
context:
space:
mode:
Diffstat (limited to 'lua')
-rw-r--r--lua/lspconfig/dartls.lua14
1 files changed, 10 insertions, 4 deletions
diff --git a/lua/lspconfig/dartls.lua b/lua/lspconfig/dartls.lua
index a88effa6..9a14960b 100644
--- a/lua/lspconfig/dartls.lua
+++ b/lua/lspconfig/dartls.lua
@@ -36,11 +36,17 @@ configs[server_name] = {
filetypes = { 'dart' },
root_dir = util.root_pattern 'pubspec.yaml',
init_options = {
- onlyAnalyzeProjectsWithOpenFiles = false,
+ onlyAnalyzeProjectsWithOpenFiles = true,
suggestFromUnimportedLibraries = true,
- closingLabels = false,
- outline = false,
- flutterOutline = false,
+ closingLabels = true,
+ outline = true,
+ flutterOutline = true,
+ },
+ settings = {
+ dart = {
+ completeFunctionCalls = true,
+ showTodos = true,
+ },
},
},
docs = {