From: James Bunton Date: Tue, 27 Feb 2018 10:26:08 +0000 (+1100) Subject: json-mode: leave indent at default to avoid overwriting editorconfig X-Git-Url: https://code.delx.au/dotemacs/commitdiff_plain/72e10657a0098d7fc98f1949f9e073932e73f700 json-mode: leave indent at default to avoid overwriting editorconfig --- diff --git a/lisp/my-file-modes.el b/lisp/my-file-modes.el index 7236084..3253dc7 100644 --- a/lisp/my-file-modes.el +++ b/lisp/my-file-modes.el @@ -26,10 +26,6 @@ (require 'json-mode) (require 'js) -(add-hook 'json-mode-hook - (lambda () - (set (make-local-variable 'js-indent-level) 2))) - (require 'js2-mode) (add-to-list 'auto-mode-alist '("\\.js\\'" . js2-mode)) (add-to-list 'interpreter-mode-alist '("node" . js2-mode))