blob: e7415201619d4c3bc28f39991e63c6c8b0c421c8 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
local server = require("nvim-lsp-installer.server")
local path = require("nvim-lsp-installer.path")
local shell = require("nvim-lsp-installer.installers.shell")
local root_dir = server.get_server_root_path("denols")
local install_cmd = [=[
export DENO_INSTALL="$PWD"
curl -fsSL https://deno.land/x/install/install.sh | sh
]=]
return server.Server:new {
name = "denols",
root_dir = root_dir,
install_cmd = shell.raw(install_cmd),
default_options = {
cmd = { path.concat { root_dir, "bin", "deno" }, "lsp" },
},
}
|