blob: ff8c1004f82f583d48e670f8f4565232317aaaa5 (
plain)
| 1
2
3
4
5
6
7
8
9
10
11
12
13
 | if not require("lv-utils").check_lsp_client_active "cssls" then
  -- npm install -g vscode-css-languageserver-bin
  require("lspconfig").cssls.setup {
    cmd = {
      "node",
      DATA_PATH .. "/lspinstall/css/vscode-css/css-language-features/server/dist/node/cssServerMain.js",
      "--stdio",
    },
    on_attach = require("lsp").common_on_attach,
  }
end
vim.cmd "setl ts=2 sw=2"
 |