Huge configs updates

This commit is contained in:
2025-10-31 11:21:05 +03:00
parent 03a71a5e16
commit d8fd8fce36
8 changed files with 104 additions and 46 deletions

View File

@ -18,18 +18,22 @@ return {
-- Define your formatters
formatters_by_ft = {
lua = { "stylua" },
python = { "ruff_organize_imports_only" },
javascript = { "prettierd", "prettier", stop_after_first = true },
sh = { "shfmt" },
python = { "ruff_organize_imports_only" },
go = { "goimports", "gofmt" },
html = { "prettierd", "prettier", stop_after_first = true },
css = { "prettierd", "prettier", stop_after_first = true },
javascript = { "prettierd", "prettier", stop_after_first = true },
typescript = { "prettierd", "prettier", stop_after_first = true },
json = { "prettierd", "prettier", stop_after_first = true },
jsonc = { "prettierd", "prettier", stop_after_first = true },
css = { "prettierd", "prettier", stop_after_first = true },
html = { "prettierd", "prettier", stop_after_first = true },
-- go = { "goimports", "gofmt" },
-- typescript = { "prettierd", "prettier", stop_after_first = true },
markdown = { "prettierd", "prettier", stop_after_first = true },
},
-- Custom formatters
formatters = {
prettierd = {
args = { "--tab-width", "2" },
},
ruff_organize_imports_only = {
command = "ruff",
args = {