From 1b304398585da9692d4abbb3748568b430a5b6fd Mon Sep 17 00:00:00 2001 From: 10sr <8slashes+git@gmail.com> Date: Thu, 28 May 2015 14:45:19 +0900 Subject: [PATCH] Add setups for scala and ensime --- emacs.el | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/emacs.el b/emacs.el index 34fc918..1032aee 100644 --- a/emacs.el +++ b/emacs.el @@ -215,6 +215,9 @@ IF OK-IF-ALREADY-EXISTS is true force download." term-run editorconfig git-ps1-mode + + scala-mode2 + ensime ) "Package list just for me.") @@ -978,6 +981,10 @@ IF OK-IF-ALREADY-EXISTS is true force download." ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ;; some modes and hooks +(when (require 'ensime nil t) + (add-hook 'scala-mode-hook + 'ensime-scala-mode-hook)) + (when (autoload-eval-lazily 'term-run '(term-run-shell-command term-run)) (define-key ctl-x-map "t" 'term-run-shell-command))