chore: remove flit
This commit is contained in:
@@ -3,6 +3,84 @@ return {
|
||||
opts = {
|
||||
---@type lspconfig.options
|
||||
servers = {
|
||||
tailwindcss = {
|
||||
filetypes = {
|
||||
"css",
|
||||
"scss",
|
||||
"sass",
|
||||
"html",
|
||||
"javascriptreact",
|
||||
"typescriptreact",
|
||||
"rust",
|
||||
"svelte",
|
||||
},
|
||||
init_options = {
|
||||
userLanguages = {
|
||||
rust = "html"
|
||||
}
|
||||
},
|
||||
settings = {
|
||||
includeLanguages = {
|
||||
rust = "html",
|
||||
}
|
||||
},
|
||||
tailwindcss = {
|
||||
experimental = {
|
||||
classRegex = {
|
||||
[[class= "([^"]*)]],
|
||||
[[class: "([^"]*)]],
|
||||
'~H""".*class="([^"]*)".*"""',
|
||||
'~F""".*class="([^"]*)".*"""',
|
||||
},
|
||||
},
|
||||
validate = true
|
||||
}
|
||||
},
|
||||
jsonls = {
|
||||
on_new_config = function(new_config)
|
||||
new_config.settings.json.schemas = new_config.settings.json.schemas or {
|
||||
}
|
||||
vim.list_extend(new_config.settings.json.schemas, require("schemastore").json.schemas())
|
||||
end,
|
||||
settings = {
|
||||
json = {
|
||||
validate = { enable = true },
|
||||
schemas = {
|
||||
{
|
||||
description = "shuttle go plan",
|
||||
fileMatch = {
|
||||
"shuttle.yaml"
|
||||
},
|
||||
name = "shuttle.yaml",
|
||||
url = "file:///Users/kah/git/github.com/lunarway/lw-shuttle-go-plan/.schemastore/schema.json"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
yamlls = {
|
||||
on_new_config = function(new_config)
|
||||
new_config.settings.json.schemas = new_config.settings.json.schemas or {
|
||||
}
|
||||
vim.list_extend(new_config.settings.json.schemas, require("schemastore").json.schemas())
|
||||
end,
|
||||
settings = {
|
||||
yaml = {
|
||||
validate = true,
|
||||
schemas = {
|
||||
["file:///Users/kah/git/github.com/lunarway/lw-shuttle-go-plan/.schemastore/schema.json"] = "shuttle.yaml"
|
||||
--{
|
||||
-- description = "shuttle go plan",
|
||||
-- fileMatch = {
|
||||
-- "shuttle.yaml"
|
||||
-- },
|
||||
-- name = "shuttle.yaml",
|
||||
-- url =
|
||||
--}
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
pylsp = {
|
||||
settings = {
|
||||
pylsp = {
|
||||
|
Reference in New Issue
Block a user