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