blob: f61ff241543403c7e4090954b6dfc16b0a42179e (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
local server = require "nvim-lsp-installer.server"
local path = require "nvim-lsp-installer.path"
local std = require "nvim-lsp-installer.installers.std"
local root_dir = server.get_server_root_path "rescriptls"
return server.Server:new {
name = "rescriptls",
root_dir = root_dir,
installer = std.unzip_remote "https://github.com/rescript-lang/rescript-vscode/releases/download/1.1.3/rescript-vscode-1.1.3.vsix",
default_options = {
cmd = { "node", path.concat { root_dir, "extension", "server", "out", "server.js" }, "--stdio" },
},
}
|