blob: 204b7571415d125ab72c2e1af9747222fdad7caf (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
local server = require("nvim-lsp-installer.server")
local npm = require("nvim-lsp-installer.installers.npm")
local root_dir = server.get_server_root_path("purescript")
return server.Server:new {
name = "purescriptls",
root_dir = root_dir,
installer = npm.packages { "purescript-language-server" },
default_options = {
cmd = { npm.executable(root_dir, "purescript-language-server"), "--stdio" },
},
}
|