blob: 8bdcaebd8febfaec2b1fbec74151a6679e16dd8d (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
local server = require "nvim-lsp-installer.server"
local npm = require "nvim-lsp-installer.installers.npm"
return function(name, root_dir)
return server.Server:new {
name = name,
root_dir = root_dir,
languages = { "python" },
homepage = "https://github.com/microsoft/pyright",
installer = npm.packages { "pyright" },
default_options = {
cmd_env = npm.env(root_dir),
},
}
end
|