diff options
author | Alan Pearce | 2017-05-15 14:26:25 +0200 |
---|---|---|
committer | Alan Pearce | 2017-05-15 14:26:25 +0200 |
commit | e29baf020212cff526820efef6582c671b1e01f5 (patch) | |
tree | f488597911aa678304233e4ca5e729291aef3c42 /emacs/.emacs.d | |
parent | 3b8e49259080ac24eb4015d9a8ce94aba753e123 (diff) | |
download | nixfiles-e29baf020212cff526820efef6582c671b1e01f5.tar.lz nixfiles-e29baf020212cff526820efef6582c671b1e01f5.tar.zst nixfiles-e29baf020212cff526820efef6582c671b1e01f5.zip |
Emacs: Set switch/case indentation to follow most styles
Diffstat (limited to 'emacs/.emacs.d')
-rw-r--r-- | emacs/.emacs.d/init.org | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/emacs/.emacs.d/init.org b/emacs/.emacs.d/init.org index 628c90ec..0de6a180 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 |