all repos — nixfiles @ e29baf020212cff526820efef6582c671b1e01f5

System and user configuration, managed by nix and home-manager

Emacs: Set switch/case indentation to follow most styles
Alan Pearce alan@alanpearce.eu
Mon, 15 May 2017 14:26:25 +0200
commit

e29baf020212cff526820efef6582c671b1e01f5

parent

3b8e49259080ac24eb4015d9a8ce94aba753e123

1 files changed, 1 insertions(+), 0 deletions(-)

jump to
M emacs/.emacs.d/init.orgemacs/.emacs.d/init.org
@@ -2014,6 +2014,7 @@ (js2-next-error -1))             (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