parent
764cf775d6
commit
0da2bd461c
1 changed files with 2 additions and 2 deletions
|
@ -37,8 +37,8 @@
|
||||||
(eval-after-load 'js-mode
|
(eval-after-load 'js-mode
|
||||||
'(progn
|
'(progn
|
||||||
(defun prelude-js-mode-defaults ()
|
(defun prelude-js-mode-defaults ()
|
||||||
;; electric-layout-mode doesn't play nice with js-mode
|
;; electric-layout-mode doesn't play nice with smartparens
|
||||||
(electric-layout-mode -1))
|
(setq-local electric-layout-rules '((?\; . after))))
|
||||||
|
|
||||||
(setq prelude-js-mode-hook 'prelude-js-mode-defaults)
|
(setq prelude-js-mode-hook 'prelude-js-mode-defaults)
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue