helm/home/profiles/nvim/config/fnl/conf/formatting.fnl

12 lines
483 B
Plaintext
Raw Permalink Normal View History

(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}})