🐛 fix(nvim): added csslsp to the extra

didnt know why i didnt have it...
This commit is contained in:
Sergio Laín 2023-12-03 18:35:57 +01:00
parent 1200b7f951
commit 64b076dfa8
No known key found for this signature in database
GPG key ID: 14C9B8080681777B

View file

@ -12,6 +12,26 @@ return {
opts = {
servers = {
cssmodules_ls = {},
cssls = {
lint = {
compatibleVendorPrefixes = "ignore",
vendorPrefix = "ignore",
unknownVendorSpecificProperties = "ignore",
-- unknownProperties = "ignore", -- duplicate with stylelint
duplicateProperties = "warning",
emptyRules = "warning",
importStatement = "warning",
zeroUnits = "warning",
fontFaceProperties = "warning",
hexColorLength = "warning",
argumentsInColorFunction = "warning",
unknownAtRules = "warning",
ieHack = "warning",
propertyIgnoredDueToDisplay = "warning",
},
},
},
},
},
@ -19,7 +39,7 @@ return {
"williamboman/mason.nvim",
opts = function(_, opts)
opts.ensure_installed = opts.ensure_installed or {}
vim.list_extend(opts.ensure_installed, { "cssmodules-language-server", "rustywind" })
vim.list_extend(opts.ensure_installed, { "cssmodules-language-server", "css-lsp" })
end,
},
}