Define shell + php lsp + dart lsp + flutter + relative number (#188)

This commit is contained in:
Biser Stoilov 2021-03-30 09:17:40 +03:00 committed by GitHub
parent 48286254b7
commit 5f22c1bace
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
7 changed files with 27 additions and 1 deletions

11
lua/lsp/dart-ls.lua Normal file
View file

@ -0,0 +1,11 @@
require'lspconfig'.dartls.setup{
cmd = { "dart", O.dart.sdk_path, "--lsp" },
on_attach = require'lsp'.common_on_attach,
init_options = {
closingLabels = false,
flutterOutline = false,
onlyAnalyzeProjectsWithOpenFiles = false,
outline = false,
suggestFromUnimportedLibraries = true
}
}