From e29baf020212cff526820efef6582c671b1e01f5 Mon Sep 17 00:00:00 2001 From: Alan Pearce Date: Mon, 15 May 2017 14:26:25 +0200 Subject: Emacs: Set switch/case indentation to follow most styles --- emacs/.emacs.d/init.org | 1 + 1 file changed, 1 insertion(+) (limited to 'emacs') diff --git a/emacs/.emacs.d/init.org b/emacs/.emacs.d/init.org index 628c90e..0de6a18 100644 --- a/emacs/.emacs.d/init.org +++ b/emacs/.emacs.d/init.org @@ -2014,6 +2014,7 @@ an AST internally, so it can work with it almost like a lisp. (bind-key "M-g M-n" #'js2-next-error js2-mode-map) (bind-key "M-g M-p" #'ap/js2-prev-error js2-mode-map) (setq js2-basic-offset 2 + js-switch-indent-offset 2 js2-include-node-externs t js2-highlight-level 1))) #+END_SRC -- cgit 1.4.1