summary refs log tree commit diff
path: root/emacs
diff options
context:
space:
mode:
authorFranck Cuny <fcuny@twitter.com>2019-08-29 16:57:35 -0700
committerFranck Cuny <fcuny@twitter.com>2019-08-29 16:57:35 -0700
commitda41a66d4954208d692f26880525035023a031d2 (patch)
treeed268181791adb3031c5830b0652501cd87957b7 /emacs
parent[emacs] change font (diff)
downloademacs.d-da41a66d4954208d692f26880525035023a031d2.tar.gz
[emacs] fix configuration for json
there's no `json-mode`, only `js-mode`.
Diffstat (limited to '')
-rw-r--r--emacs.d/custom/fcuny-json.el4
1 files changed, 2 insertions, 2 deletions
diff --git a/emacs.d/custom/fcuny-json.el b/emacs.d/custom/fcuny-json.el
index 9174e5b..14ea06c 100644
--- a/emacs.d/custom/fcuny-json.el
+++ b/emacs.d/custom/fcuny-json.el
@@ -1,6 +1,6 @@
 (require 'fcuny-defuns)
 
-(use-package json-mode
+(use-package js-mode
   :after (flyspell flycheck)
   :custom
   (json-reformat:indent-width 2)
@@ -9,6 +9,6 @@
          (json-mode . flycheck-mode))
   :init
   (if (fcuny/check-work-machine-p)
-    (add-to-list 'auto-mode-alist '("\\.workflow$" . json-mode))))
+    (add-to-list 'auto-mode-alist '("\\.workflow$" . js-mode))))
 
 (provide 'fcuny-json)