summaryrefslogtreecommitdiff
path: root/lsp/css.lua
diff options
context:
space:
mode:
Diffstat (limited to 'lsp/css.lua')
-rw-r--r--lsp/css.lua12
1 files changed, 12 insertions, 0 deletions
diff --git a/lsp/css.lua b/lsp/css.lua
new file mode 100644
index 0000000..01b4b77
--- /dev/null
+++ b/lsp/css.lua
@@ -0,0 +1,12 @@
+return {
+ cmd = { "vscode-css-language-server", "--stdio" },
+ filetypes = { "css", "scss", "less" },
+ root_markers = { "package.json", ".git" },
+ single_file_support = true,
+ init_options = { provideFormatter = true },
+ settings = {
+ css = { validate = true },
+ scss = { validate = true },
+ less = { validate = true },
+ },
+}