feat: css modules lsp

This commit is contained in:
2026-05-04 09:16:23 +02:00
parent eeda4c7b92
commit b980e786bf
4 changed files with 31 additions and 5 deletions

21
lsp/css_modules.lua Normal file
View File

@@ -0,0 +1,21 @@
return {
cmd = { "cssmodules-language-server" },
filetypes = {
"typescript",
"typescriptreact",
"typescript.tsx",
"javascript",
"javascriptreact",
"javascript.jsx",
"js",
"jsx",
"ts",
"tsx",
},
root_markers = { ".git" },
settings = {},
init_options = {
camelCase = false,
},
}