Fix scala-mode install

This commit is contained in:
Ivan Malison 2016-07-15 13:40:27 -07:00
parent 70445fa649
commit fb46a7ef2c
No known key found for this signature in database
GPG Key ID: 62530EFBE99DC2F8

View File

@ -2470,17 +2470,20 @@ The following is taken from [[https://github.com/syl20bnr/spacemacs/blob/a650877
#+END_SRC
**** scala
#+BEGIN_SRC emacs-lisp
(use-package scala-mode2
(use-package scala-mode
:mode (("\\.scala\\'" . scala-mode)
("\\.sc\\'" . scala-mode))
:config
(progn
(when (use-package ensime
(use-package ensime
:pin melpa-stable
:bind (:map ensime-mode-map
("M-," . ensime-pop-find-definition-stack))
:commands ensime-mode)
(add-hook 'scala-mode-hook 'ensime-scala-mode-hook))
:commands ensime-mode
:config
(progn
(setq ensime-startup-snapshot-notification nil)))
(add-hook 'scala-mode-hook 'ensime-scala-mode-hook)
(setq scala-indent:align-parameters t)))
#+END_SRC
**** js