mirror of
https://github.com/pojokcodeid/nvim-lazy.git
synced 2025-06-21 16:39:04 +02:00
enc: move lsp config to auto-lsp.nvim
This commit is contained in:
parent
5f766a5717
commit
c09e320633
22 changed files with 253 additions and 293 deletions
92
lua/user/lsp/settings_backup/tailwindcss.lua
Normal file
92
lua/user/lsp/settings_backup/tailwindcss.lua
Normal file
|
@ -0,0 +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,
|
||||
-- },
|
||||
-- },
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue