summary refs log tree commit diff stats
path: root/emacs
diff options
context:
space:
mode:
authorAlan Pearce2017-05-15 14:26:25 +0200
committerAlan Pearce2017-05-15 14:26:25 +0200
commite29baf020212cff526820efef6582c671b1e01f5 (patch)
treef488597911aa678304233e4ca5e729291aef3c42 /emacs
parent3b8e49259080ac24eb4015d9a8ce94aba753e123 (diff)
downloaddotfiles-e29baf020212cff526820efef6582c671b1e01f5.tar.lz
dotfiles-e29baf020212cff526820efef6582c671b1e01f5.tar.zst
dotfiles-e29baf020212cff526820efef6582c671b1e01f5.zip
Emacs: Set switch/case indentation to follow most styles
Diffstat (limited to 'emacs')
-rw-r--r--emacs/.emacs.d/init.org1
1 files changed, 1 insertions, 0 deletions
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