mirror of
https://github.com/pojokcodeid/nvim-lazy.git
synced 2025-06-22 08:53:31 +02:00
add: update config
This commit is contained in:
parent
93e5e8860f
commit
b319a12e99
7 changed files with 154 additions and 115 deletions
|
@ -1,92 +1,92 @@
|
|||
return {
|
||||
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,
|
||||
},
|
||||
},
|
||||
-- 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,
|
||||
-- },
|
||||
-- },
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue