summary refs log tree commit diff stats
path: root/emacs/.emacs.d/main.el
diff options
context:
space:
mode:
Diffstat (limited to 'emacs/.emacs.d/main.el')
-rw-r--r--emacs/.emacs.d/main.el1
1 files changed, 1 insertions, 0 deletions
diff --git a/emacs/.emacs.d/main.el b/emacs/.emacs.d/main.el
index 09e43d14..d75ce9a0 100644
--- a/emacs/.emacs.d/main.el
+++ b/emacs/.emacs.d/main.el
@@ -2117,6 +2117,7 @@ With prefix TO-CURRENT-BUFFER, insert command output into buffer."
               (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)
+            (advice-add #'js--multi-line-declaration-indentation :around (lambda (orig-fun &rest args) nil))
             (setq js2-basic-offset 2
                   js-switch-indent-offset 2
                   js2-include-node-externs t