2024-04-07 18:40:56 +07:00
|
|
|
return {
|
2024-05-30 19:03:34 +07:00
|
|
|
-- cmd = { "tailwindcss-language-server", "--stdio" },
|
|
|
|
-- filetypes = {
|
|
|
|
-- "aspnetcorerazor",
|
|
|
|
-- "astro",
|
|
|
|
-- "astro-markdown",
|
|
|
|
-- "blade",
|
|
|
|
-- "clojure",
|
|
|
|
-- "django-html",
|
|
|
|
-- "htmldjango",
|
|
|
|
-- "edge",
|
|
|
|
-- "eelixir",
|
|
|
|
-- "elixir",
|
|
|
|
-- "ejs",
|
|
|
|
-- "erb",
|
|
|
|
-- "eruby",
|
|
|
|
-- "gohtml",
|
|
|
|
-- "gohtmltmpl",
|
|
|
|
-- "haml",
|
|
|
|
-- "handlebars",
|
|
|
|
-- "hbs",
|
|
|
|
-- "html",
|
|
|
|
-- "html-eex",
|
|
|
|
-- "heex",
|
|
|
|
-- "jade",
|
|
|
|
-- "leaf",
|
|
|
|
-- "liquid",
|
|
|
|
-- "markdown",
|
|
|
|
-- "mdx",
|
|
|
|
-- "mustache",
|
|
|
|
-- "njk",
|
|
|
|
-- "nunjucks",
|
|
|
|
-- "php",
|
|
|
|
-- "razor",
|
|
|
|
-- "slim",
|
|
|
|
-- "twig",
|
|
|
|
-- "css",
|
|
|
|
-- "less",
|
|
|
|
-- "postcss",
|
|
|
|
-- "sass",
|
|
|
|
-- "scss",
|
|
|
|
-- "stylus",
|
|
|
|
-- "sugarss",
|
|
|
|
-- "javascript",
|
|
|
|
-- "javascriptreact",
|
|
|
|
-- "reason",
|
|
|
|
-- "rescript",
|
|
|
|
-- "typescript",
|
|
|
|
-- "typescriptreact",
|
|
|
|
-- "vue",
|
|
|
|
-- "svelte",
|
|
|
|
-- "templ",
|
|
|
|
-- },
|
|
|
|
-- -- init options
|
|
|
|
-- init_options = {
|
|
|
|
-- userLanguages = {
|
|
|
|
-- eelixir = "html-eex",
|
|
|
|
-- eruby = "erb",
|
|
|
|
-- templ = "html",
|
|
|
|
-- },
|
|
|
|
-- },
|
|
|
|
-- -- root dir
|
|
|
|
-- root_dir = root_pattern(
|
|
|
|
-- "tailwind.config.js",
|
|
|
|
-- "tailwind.config.cjs",
|
|
|
|
-- "tailwind.config.mjs",
|
|
|
|
-- "tailwind.config.ts",
|
|
|
|
-- "postcss.config.js",
|
|
|
|
-- "postcss.config.cjs",
|
|
|
|
-- "postcss.config.mjs",
|
|
|
|
-- "postcss.config.ts",
|
|
|
|
-- "package.json",
|
|
|
|
-- "node_modules",
|
|
|
|
-- ".git"
|
|
|
|
-- ),
|
|
|
|
-- -- settings
|
|
|
|
-- settings = {
|
|
|
|
-- tailwindCSS = {
|
|
|
|
-- classAttributes = { "class", "className", "class:list", "classList", "ngClass" },
|
|
|
|
-- lint = {
|
|
|
|
-- cssConflict = "warning",
|
|
|
|
-- invalidApply = "error",
|
|
|
|
-- invalidConfigPath = "error",
|
|
|
|
-- invalidScreen = "error",
|
|
|
|
-- invalidTailwindDirective = "error",
|
|
|
|
-- invalidVariant = "error",
|
|
|
|
-- recommendedVariantOrder = "warning",
|
|
|
|
-- },
|
|
|
|
-- validate = true,
|
|
|
|
-- },
|
|
|
|
-- },
|
2024-04-07 18:40:56 +07:00
|
|
|
}
|