2024-06-23 20:29:09 +02:00
|
|
|
return {
|
2024-08-18 17:49:32 +02:00
|
|
|
"stevearc/conform.nvim",
|
|
|
|
opts = {
|
|
|
|
format_on_save = {
|
|
|
|
timeout_ms = 500,
|
|
|
|
lsp_format = "fallback",
|
|
|
|
},
|
|
|
|
formatters_by_ft = {
|
|
|
|
lua = { "stylua" },
|
|
|
|
rust = { "rustfmt", lsp_format = "fallback" },
|
2024-09-27 07:58:21 +02:00
|
|
|
gleam = { "gleam format --stdin" },
|
2024-08-18 17:49:32 +02:00
|
|
|
},
|
|
|
|
},
|
2024-06-23 20:29:09 +02:00
|
|
|
}
|