2023-11-07 09:29:53 +00:00
|
|
|
return {
|
|
|
|
"stevearc/conform.nvim",
|
|
|
|
opts = {
|
2024-11-16 05:42:58 +00:00
|
|
|
formatters = {
|
|
|
|
sqlfluff = {
|
|
|
|
args = { "format", "--dialect=sqlite", "-" },
|
|
|
|
},
|
2023-11-07 09:29:53 +00:00
|
|
|
},
|
2024-11-16 05:45:57 +00:00
|
|
|
formatters_by_ft = {
|
|
|
|
sql = { "sql_formatter" },
|
|
|
|
-- nix = { "nixpgs_fmt" },
|
|
|
|
htmldjango = { "prettier" },
|
|
|
|
},
|
2023-11-07 09:29:53 +00:00
|
|
|
},
|
2024-11-16 05:42:58 +00:00
|
|
|
setup = {},
|
2023-11-07 09:29:53 +00:00
|
|
|
}
|