|
@@ -6,5 +6,7 @@ lspconfig.tailwindcss.setup {
|
|
|
"node", DATA_PATH .. "/lspinstall/tailwindcss/tailwindcss-intellisense/extension/dist/server/tailwindServer.js",
|
|
|
"--stdio"
|
|
|
},
|
|
|
+ filetypes = O.lang.tailwindcss.filetypes,
|
|
|
+ root_dir = require("lspconfig/util").root_pattern("tailwind.config.js", "postcss.config.ts", ".postcssrc"),
|
|
|
on_attach = require'lsp'.common_on_attach
|
|
|
}
|