Add ensime scala mode hook.
This commit is contained in:
parent
f6c9f8c638
commit
bb1807256f
4
init.el
4
init.el
@ -76,7 +76,7 @@ Return a list of installed packages or nil for every package not installed."
|
||||
(auto-fill-mode -1)
|
||||
|
||||
;; This makes it so that emacs --daemon creates server files in ~/.emacs.d/server
|
||||
(setq server-use-tcp t)
|
||||
;;(setq server-use-tcp t)
|
||||
|
||||
;; Enable ido mode.
|
||||
(require 'ido)
|
||||
@ -230,6 +230,8 @@ Return a list of installed packages or nil for every package not installed."
|
||||
;; Scala
|
||||
;; =============================================================================
|
||||
|
||||
(require 'ensime)
|
||||
(add-hook 'scala-mode-hook 'ensime-scala-mode-hook)
|
||||
(add-hook 'scala-mode-hook (lambda () (subword-mode 1)))
|
||||
|
||||
;; =============================================================================
|
||||
|
Loading…
Reference in New Issue
Block a user