blob: fe2ed2c92269fcf26f7b5c75683780951c80516c (
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,
homepage = "https://github.com/bmatcuk/stylelint-lsp",
languages = { "stylelint" },
installer = npm.packages { "stylelint-lsp" },
default_options = {
cmd = { npm.executable(root_dir, "stylelint-lsp"), "--stdio" },
},
}
end
|