lsp in ftplugin austonautomoy

This commit is contained in:
christianchiarulli 2021-07-01 23:42:26 -04:00
parent 9bb4f8a085
commit 20ed47e21e
45 changed files with 404 additions and 142 deletions

11
ftplugin/dart.lua Normal file
View file

@ -0,0 +1,11 @@
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
}
}