dotfiles/.config/nvim/lua/lsp/servers/cssls.lua

15 lines
401 B
Lua

return {
filetypes = {"css", "scss", "less" },
cmd = { vim.g.lsp_path .. "vscode-css-language-server", "--stdio"},
on_attach = vim.g.lsp_on_attach,
handlers = vim.g.lsp_handler,
capabilities = require('cmp_nvim_lsp').default_capabilities(vim.g.lsp_capabilities),
root_dir = require"lspconfig.util".root_pattern{
"package.json",
".git"
},
}