feat: css variables lsp

This commit is contained in:
2026-05-04 09:03:16 +02:00
parent 4d10724f93
commit eeda4c7b92
3 changed files with 63 additions and 37 deletions

25
lsp/css_variables.lua Normal file
View File

@@ -0,0 +1,25 @@
return {
cmd = { "css-variables-language-server", "--stdio" },
filetypes = { "css", "scss", "less" },
root_markers = { ".git" },
settings = {
cssVariables = {
lookupFiles = { "**/*.less", "**/*.scss", "**/*.sass", "**/*.css" },
blacklistFolders = {
"**/.cache",
"**/.DS_Store",
"**/.git",
"**/.hg",
"**/.next",
"**/.svn",
"**/bower_components",
"**/CVS",
"**/dist",
"**/node_modules",
"**/tests",
"**/tmp",
},
},
},
}