chore: remove flit

This commit is contained in:
2023-05-15 11:45:18 +02:00
parent f2fd3e054f
commit c677cacb6f
5 changed files with 132 additions and 45 deletions

View File

@@ -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 = {