mirror of
https://github.com/LunarVim/LunarVim.git
synced 2025-08-31 07:09:23 +02:00
lsp in ftplugin austonautomoy
This commit is contained in:
parent
9bb4f8a085
commit
20ed47e21e
45 changed files with 404 additions and 142 deletions
11
ftplugin/dart.lua
Normal file
11
ftplugin/dart.lua
Normal 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
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue