🐛 fix(nvim): added csslsp to the extra
didnt know why i didnt have it...
This commit is contained in:
parent
1200b7f951
commit
64b076dfa8
1 changed files with 21 additions and 1 deletions
|
@ -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,
|
||||
},
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue