Enable subword-mode for JavaScript
This commit is contained in:
parent
b9f14023b3
commit
aa05753b97
1 changed files with 2 additions and 1 deletions
|
@ -46,7 +46,8 @@
|
|||
;; electric-layout-mode doesn't play nice with smartparens
|
||||
(setq-local electric-layout-rules '((?\; . after)))
|
||||
(setq mode-name "JS2")
|
||||
(js2-imenu-extras-mode +1))
|
||||
(js2-imenu-extras-mode +1)
|
||||
(subword-mode +1))
|
||||
|
||||
(setq prelude-js-mode-hook 'prelude-js-mode-defaults)
|
||||
|
||||
|
|
Loading…
Reference in a new issue