aboutsummaryrefslogtreecommitdiff
path: root/apheleia.el
diff options
context:
space:
mode:
Diffstat (limited to 'apheleia.el')
-rw-r--r--apheleia.el3
1 files changed, 2 insertions, 1 deletions
diff --git a/apheleia.el b/apheleia.el
index 43b97c6..16ae04b 100644
--- a/apheleia.el
+++ b/apheleia.el
@@ -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)
@@ -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)