Permalink
Browse files

scala stuff

  • Loading branch information...
1 parent 09386d1 commit 5d934a64b3d22c72f4228cd94222b63b0cf1908f @genehack committed Feb 7, 2013
Showing with 14 additions and 0 deletions.
  1. +13 −0 etc/misc.el
  2. +1 −0 init.el
View
@@ -271,6 +271,19 @@
(bury-buffer)
(kill-buffer)))
+;;; SCALA
+(if (file-exists-p "/opt/ensime")
+ (progn
+ ;; load the ensime lisp code...
+ (add-to-list 'load-path "/opt/ensime/elisp")
+ (require 'ensime)
+
+ ;; This step causes the ensime-mode to be started whenever
+ ;; scala-mode is started for a buffer. You may have to customize
+ ;; this step if you're not using the standard scala mode.
+ (add-hook 'scala-mode-hook 'ensime-scala-mode-hook)))
+
+
;;; SCRATCH-BUFFER
(defun genehack/create-scratch-buffer nil
"(re)create a scratch buffer"
View
@@ -108,6 +108,7 @@
powerline
pretty-lambdada
projectile
+ scala-mode2
smart-tab
smex
solarized-theme

0 comments on commit 5d934a6

Please sign in to comment.