Skip to content

Commit

Permalink
Fix json-mode not working
Browse files Browse the repository at this point in the history
  • Loading branch information
raxod502 committed Sep 15, 2022
1 parent 1eedb7e commit 7aa46ba
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion apheleia.el
Original file line number Diff line number Diff line change
Expand Up @@ -1102,6 +1102,8 @@ function: %s" command)))
(defcustom apheleia-mode-alist
'(;; php-mode has to come before cc-mode
(php-mode . phpcs)
;; json-mode has to come before javascript-mode (aka js-mode)
(json-mode . prettier-json)
;; rest are alphabetical
(beancount-mode . bean-format)
(cc-mode . clang-format)
Expand All @@ -1121,7 +1123,6 @@ function: %s" command)))
(java-mode . google-java-format)
(js3-mode . prettier-javascript)
(js-mode . prettier-javascript)
(json-mode . prettier-json)
(kotlin-mode . ktlint)
(latex-mode . latexindent)
(LaTeX-mode . latexindent)
Expand Down

0 comments on commit 7aa46ba

Please sign in to comment.