From da41a66d4954208d692f26880525035023a031d2 Mon Sep 17 00:00:00 2001 From: Franck Cuny Date: Thu, 29 Aug 2019 16:57:35 -0700 Subject: [emacs] fix configuration for json there's no `json-mode`, only `js-mode`. --- emacs.d/custom/fcuny-json.el | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'emacs.d/custom') 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) -- cgit 1.4.1