Browse Source

Add setups for scala and ensime

pull/15/head
10sr 9 years ago
parent
commit
1b30439858
1 changed files with 7 additions and 0 deletions
  1. +7
    -0
      emacs.el

+ 7
- 0
emacs.el View File

@@ -215,6 +215,9 @@ IF OK-IF-ALREADY-EXISTS is true force download."
term-run term-run
editorconfig editorconfig
git-ps1-mode git-ps1-mode

scala-mode2
ensime
) )
"Package list just for me.") "Package list just for me.")


@@ -978,6 +981,10 @@ IF OK-IF-ALREADY-EXISTS is true force download."
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;; some modes and hooks ;; 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)) (when (autoload-eval-lazily 'term-run '(term-run-shell-command term-run))
(define-key ctl-x-map "t" 'term-run-shell-command)) (define-key ctl-x-map "t" 'term-run-shell-command))




Loading…
Cancel
Save