Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

scala stuff

  • Loading branch information...
commit 5d934a64b3d22c72f4228cd94222b63b0cf1908f 1 parent 09386d1
@genehack authored
Showing with 14 additions and 0 deletions.
  1. +13 −0 etc/misc.el
  2. +1 −0  init.el
View
13 etc/misc.el
@@ -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
1  init.el
@@ -108,6 +108,7 @@
powerline
pretty-lambdada
projectile
+ scala-mode2
smart-tab
smex
solarized-theme
Please sign in to comment.
Something went wrong with that request. Please try again.