Skip to content

Commit

Permalink
tweak(apheleia): remove pgformatter as it is merged upstream
Browse files Browse the repository at this point in the history
  • Loading branch information
abougouffa committed Nov 23, 2023
1 parent 70bbfae commit 3328cea
Showing 1 changed file with 1 addition and 13 deletions.
14 changes: 1 addition & 13 deletions modules/me-prog.el
Original file line number Diff line number Diff line change
Expand Up @@ -72,19 +72,7 @@
(use-package apheleia
:straight t
:init
(+map! "cff" #'apheleia-format-buffer)
:config
(setq apheleia-mode-alist
(append apheleia-mode-alist
'((sh-mode . shfmt)
(sql-mode . pgformatter))))
(setq apheleia-formatters
(append apheleia-formatters
'(
(sqlformat . ("sqlformat" "--keywords" "upper" "-"))
(pgformatter . ("pg_format"
(apheleia-formatters-indent "--tabs" "--spaces" 'tab-width)
(apheleia-formatters-fill-column "--wrap-limit")))))))
(+map! "cff" #'apheleia-format-buffer))

(use-package editorconfig
:straight t
Expand Down

0 comments on commit 3328cea

Please sign in to comment.