chore: remove flit
This commit is contained in:
1
lua/plugins/flit.lua
Normal file
1
lua/plugins/flit.lua
Normal file
@@ -0,0 +1 @@
|
||||
return { "ggandor/flit.nvim", enabled = false }
|
@@ -1,4 +1,6 @@
|
||||
return {
|
||||
"ggandor/leap.nvim",
|
||||
enabled = false,
|
||||
keys = function() return {} end,
|
||||
config = function()
|
||||
end
|
||||
}
|
||||
|
@@ -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 = {
|
||||
|
@@ -8,10 +8,17 @@ return {
|
||||
sources = {
|
||||
nls.builtins.formatting.terraform_fmt,
|
||||
--nls.builtins.formatting.rustfmt,
|
||||
nls.builtins.formatting.yamlfmt,
|
||||
--nls.builtins.formatting.yamlfmt,
|
||||
nls.builtins.formatting.deno_fmt.with({
|
||||
filetypes = { "markdown" }
|
||||
}),
|
||||
nls.builtins.formatting.golines,
|
||||
nls.builtins.formatting.goimports_reviser,
|
||||
nls.builtins.formatting.goimports,
|
||||
nls.builtins.formatting.gofumpt,
|
||||
nls.builtins.formatting.taplo,
|
||||
nls.builtins.code_actions.gitsigns,
|
||||
nls.builtins.code_actions.refactoring,
|
||||
},
|
||||
}
|
||||
end,
|
||||
|
Reference in New Issue
Block a user