Add subword mode for scala and javascript.

This commit is contained in:
Ivan Malison 2014-05-01 18:10:40 -07:00
parent 32a5759ec8
commit ae1b947633

13
init.el
View File

@ -195,6 +195,19 @@ Return a list of installed packages or nil for every package not installed."
(add-hook 'python-mode-hook (lambda () (subword-mode 1)))
;; =============================================================================
;; JavaScript
;; =============================================================================
(add-hook 'js-mode-common-hook (lambda () (subword-mode 1)))
;; =============================================================================
;; Scala
;; =============================================================================
(add-hook 'scala-mode-hook (lambda () (subword-mode 1)))
;; =============================================================================
;; Starter Kits
;; =============================================================================