18 lines
506 B
EmacsLisp
18 lines
506 B
EmacsLisp
;;; module-scala.el
|
|
|
|
(use-package scala-mode2
|
|
:mode ("\\.s\\(cala\\|bt\\)$" . scala-mode)
|
|
:init (add-hook 'scala-mode-hook 'turn-on-eldoc-mode)
|
|
:config
|
|
(def-company-backend! scala-mode '(ensime-company (company-yasnippet)))
|
|
(def-docset! scala-mode "scala"))
|
|
|
|
(use-package sbt-mode
|
|
:after scala-mode2)
|
|
|
|
(use-package ensime
|
|
:commands (ensime ensime-mode ensime-scala-mode-hook)
|
|
:init (add-hook 'scala-mode-hook 'ensime-scala-mode-hook))
|
|
|
|
(provide 'module-scala)
|
|
;;; module-scala.el ends here
|