blob: 99b0c54ca49260430ce2524037a2b123028cd196 (
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 zx = require("nvim-lsp-installer.installers.zx")
local root_dir = server.get_server_root_path("rust")
return server.Server:new {
name = "rust_analyzer",
root_dir = root_dir,
install_cmd = zx.file("./install.mjs"),
default_options = {
cmd = { path.concat { root_dir, "rust-analyzer" } },
},
}
|