blob: c674f11c62b18369d39328fc90cf9d067e0d12e6 (
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 "tailwindcss_npm"
return server.Server:new {
name = "tailwindcss",
root_dir = root_dir,
installer = npm.packages { "@tailwindcss/language-server" },
default_options = {
cmd = { npm.executable(root_dir, "tailwindcss-language-server"), "--stdio" },
},
}
|