[format] lua via stylua

This commit is contained in:
Daveanand Mannie
2026-01-12 11:38:14 -05:00
parent 6720c8c765
commit 2f9cbf29fa
15 changed files with 187 additions and 192 deletions

View File

@@ -1,22 +1,22 @@
return {
"stevearc/conform.nvim",
opts = {
-- lsp_formatting = false,
-- fallback = false,
formatters_by_ft = {
python = { "black" },
go = { "goimports", "gofumpt" },
xml = { "lemminx" },
ruby = { "standardrb" },
json = { "biome" , "json-lsp"},
css = { "biome" },
javascript = { "biome" },
sql = { "pg_format" },
yaml = {"hydra_lsp"},
lua = {"stylua"}
},
},
dependencies = {
"mason.nvim",
},
"stevearc/conform.nvim",
opts = {
-- lsp_formatting = false,
-- fallback = false,
formatters_by_ft = {
python = { "black" },
go = { "goimports", "gofumpt" },
xml = { "lemminx" },
ruby = { "standardrb" },
json = { "biome", "json-lsp" },
css = { "biome" },
javascript = { "biome" },
sql = { "pg_format" },
yaml = { "hydra_lsp" },
lua = { "stylua" },
},
},
dependencies = {
"mason.nvim",
},
}