diff options
author | christianchiarulli <[email protected]> | 2021-07-01 23:42:26 -0400 |
---|---|---|
committer | christianchiarulli <[email protected]> | 2021-07-01 23:42:26 -0400 |
commit | 20ed47e21e966a5b857ef9970ae6171b3a504ce1 (patch) | |
tree | 92bdefc7589545f4429a55b53e4493ad7832e632 /ftplugin/dart.lua | |
parent | 9bb4f8a085644914c79343b48c808509311ee203 (diff) |
lsp in ftplugin austonautomoy
Diffstat (limited to 'ftplugin/dart.lua')
-rw-r--r-- | ftplugin/dart.lua | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/ftplugin/dart.lua b/ftplugin/dart.lua new file mode 100644 index 00000000..fe4898e8 --- /dev/null +++ b/ftplugin/dart.lua @@ -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 + } +} |