2024-08-26 23:09:08 -07:00
|
|
|
(import-macros {: do-req } :lib/macros)
|
|
|
|
|
|
|
|
(do-req :conform :setup
|
|
|
|
{:formatters_by_ft {:lua ["stylua"]
|
|
|
|
:nix ["nixfmt"]
|
|
|
|
; :go ["goimports" "gofmt"] ; Go handled in special case
|
|
|
|
:terraform ["terraform_fmt"]
|
|
|
|
:sh ["shfmt"]
|
|
|
|
:bazel ["buildifier"]}
|
|
|
|
:format_on_save {:lsp_format "fallback"
|
|
|
|
:timeout_ms 500}})
|