Fix scala-mode install
This commit is contained in:
parent
70445fa649
commit
fb46a7ef2c
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user