Update nvim config to 0.11.1 standards.

This commit is contained in:
Martin Lasson 2025-04-10 10:17:10 +02:00
parent fe23a8c0df
commit ae1489527c
16 changed files with 45 additions and 88 deletions

18
nvim/lsp/dartls.lua Normal file
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,
},
},
}