all repos — nixfiles @ 93e5ff6ef4d44ab43bb9f4de34cd617e660d4376

System and user configuration, managed by nix and home-manager

emacs: enable formatting of sql files with sqlfluff

Alan Pearce
commit

93e5ff6ef4d44ab43bb9f4de34cd617e660d4376

parent

4ce71764147b717da9062897f6b14d5f3462b9bb

1 file changed, 1 insertion(+), 0 deletions(-)

changed files
M user/emacs/init.eluser/emacs/init.el
@@ -1397,6 +1397,7 @@ '("shfmt"))
(setq apheleia-formatters (append apheleia-formatters '((golines "golines") (taplo "taplo" "format" "-") + (sqlfluff "sqlfluff" "format" "--stdin-filename" filepath "-") (prettier-gotmpl "prettier" "--stdin-filepath" filepath "--parser=go-template" (apheleia-formatters-indent "--use-tabs" "--tab-width")))))