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 #+END_SRC
**** scala **** scala
#+BEGIN_SRC emacs-lisp #+BEGIN_SRC emacs-lisp
(use-package scala-mode2 (use-package scala-mode
:mode (("\\.scala\\'" . scala-mode) :mode (("\\.scala\\'" . scala-mode)
("\\.sc\\'" . scala-mode)) ("\\.sc\\'" . scala-mode))
:config :config
(progn (progn
(when (use-package ensime (use-package ensime
:pin melpa-stable :pin melpa-stable
:bind (:map ensime-mode-map :bind (:map ensime-mode-map
("M-," . ensime-pop-find-definition-stack)) ("M-," . ensime-pop-find-definition-stack))
:commands ensime-mode) :commands ensime-mode
(add-hook 'scala-mode-hook 'ensime-scala-mode-hook)) :config
(progn
(setq ensime-startup-snapshot-notification nil)))
(add-hook 'scala-mode-hook 'ensime-scala-mode-hook)
(setq scala-indent:align-parameters t))) (setq scala-indent:align-parameters t)))
#+END_SRC #+END_SRC
**** js **** js