blob: 3990b9d95b14da782ae8942d5f3fa28b0ea93388 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
|
local server = require "nvim-lsp-installer.server"
local std = require "nvim-lsp-installer.installers.std"
return function(name, root_dir)
return server.Server:new {
name = name,
root_dir = root_dir,
homepage = "https://github.com/dart-lang/sdk",
languages = { "dart" },
installer = std.ensure_executables {
{
"dart",
"dart was not found in path. Refer to https://dart.dev/get-dart for installation instructions.",
},
},
default_options = {},
}
end
|