Merge pull request #698 from toctan/js-electric-layout-fix
Remove curly braces from js electric-layout-rules
This commit is contained in:
commit
14e92d94b4
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