initial import
This commit is contained in:
commit
f9f53656f7
32 changed files with 1064 additions and 0 deletions
4
lsp/eslint.lua
Normal file
4
lsp/eslint.lua
Normal file
|
|
@ -0,0 +1,4 @@
|
|||
return {
|
||||
cmd = { "vscode-eslint-language-server", "--stdio" },
|
||||
filetypes = { "javascript", "javascriptreact", "javascript.jsx", "typescript", "typescriptreact", "typescript.tsx", "vue", "svelte", "astro" }
|
||||
}
|
||||
4
lsp/gopls.lua
Normal file
4
lsp/gopls.lua
Normal file
|
|
@ -0,0 +1,4 @@
|
|||
return {
|
||||
cmd = { "gopls" },
|
||||
filetypes = { "go", "gomod", "gowork", "gotmpl" }
|
||||
}
|
||||
4
lsp/lemminx.lua
Normal file
4
lsp/lemminx.lua
Normal file
|
|
@ -0,0 +1,4 @@
|
|||
return {
|
||||
cmd = { "lemminx" },
|
||||
filetypes = { "xml", "xsd", "xsl", "xslt", "svg" }
|
||||
}
|
||||
4
lsp/lua_ls.lua
Normal file
4
lsp/lua_ls.lua
Normal file
|
|
@ -0,0 +1,4 @@
|
|||
return {
|
||||
cmd = { "lua-language-server" },
|
||||
filetypes = { "lua" }
|
||||
}
|
||||
14
lsp/pyright.lua
Normal file
14
lsp/pyright.lua
Normal file
|
|
@ -0,0 +1,14 @@
|
|||
return {
|
||||
cmd = { "pyright-langserver", "--stdio" },
|
||||
filetypes = { "python" },
|
||||
settings = {
|
||||
python = {
|
||||
analysis = {
|
||||
autoSearchPaths = true,
|
||||
diagnosticMode = "openFilesOnly",
|
||||
useLibraryCodeForTypes = true
|
||||
}
|
||||
}
|
||||
},
|
||||
single_file_support = true
|
||||
}
|
||||
4
lsp/ruff.lua
Normal file
4
lsp/ruff.lua
Normal file
|
|
@ -0,0 +1,4 @@
|
|||
return {
|
||||
cmd = { "ruff", "server" },
|
||||
filetypes = { "python" }
|
||||
}
|
||||
26
lsp/tailwindcss.lua
Normal file
26
lsp/tailwindcss.lua
Normal file
|
|
@ -0,0 +1,26 @@
|
|||
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", "htmlangular", "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" },
|
||||
settings = {
|
||||
tailwindCSS = {
|
||||
classAttributes = { "class", "className", "classList", "class:list", "ngClass", "pathClassName" },
|
||||
experimental = {
|
||||
classRegex = {
|
||||
{
|
||||
"(?:clsx|cva|cx)\\(([^)(]*(?:\\([^)(]*(?:\\([^)(]*(?:\\([^)(]*\\)[^)(]*)*\\)[^)(]*)*\\)[^)(]*)*)\\)",
|
||||
"'([^']*)'",
|
||||
},
|
||||
{
|
||||
"(?:clsx|cva|cx)\\(([^)(]*(?:\\([^)(]*(?:\\([^)(]*(?:\\([^)(]*\\)[^)(]*)*\\)[^)(]*)*\\)[^)(]*)*)\\)",
|
||||
'"([^"]*)"',
|
||||
},
|
||||
{
|
||||
"(?:clsx|cva|cx)\\(([^)(]*(?:\\([^)(]*(?:\\([^)(]*(?:\\([^)(]*\\)[^)(]*)*\\)[^)(]*)*\\)[^)(]*)*)\\)",
|
||||
"`([^`]*)`",
|
||||
},
|
||||
},
|
||||
},
|
||||
},
|
||||
},
|
||||
|
||||
}
|
||||
4
lsp/vtsls.lua
Normal file
4
lsp/vtsls.lua
Normal file
|
|
@ -0,0 +1,4 @@
|
|||
return {
|
||||
cmd = { "vtsls", "--stdio" },
|
||||
filetypes = { "javascript", "javascriptreact", "javascript.jsx", "typescript", "typescriptreact", "typescript.tsx" }
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue