diff --git a/emacs/.emacs.d/init.el b/emacs/.emacs.d/init.el index 5a275bc..1cc6469 100644 --- a/emacs/.emacs.d/init.el +++ b/emacs/.emacs.d/init.el @@ -1291,7 +1291,6 @@ from myaethon2.core.decorators import ( (add-hook 'git-commit-mode-hook #'oni:set-ispell-local-en-dict) (add-hook 'haskell-mode-hook 'oni:haskell-mode-func) (add-hook 'java-mode-hook #'electric-pair-local-mode) -(add-hook 'js-mode-hook #'moz-minor-mode) (add-hook 'outline-minor-mode-hook #'oni:set-tab-maybe-toggle-outline) (add-hook 'scheme-mode-hook (lambda () (setq ac-sources '(ac-source-geiser)))) (add-hook 'slime-mode-hook #'set-up-slime-ac) @@ -1360,7 +1359,8 @@ from myaethon2.core.decorators import ( #'oni:reset-default-directory) (oni:add-hooks 'js2-mode-hook - #'tern-mode #'moz-minor-mode #'electric-pair-local-mode) + #'tern-mode #'moz-minor-mode #'electric-pair-local-mode + #'electric-indent-local-mode) (oni:add-hooks 'lisp-mode-hook (lambda () (setf ac-sources '(ac-source-slime-simple)))