Skip to content

Instantly share code, notes, and snippets.

@adbrowne
adbrowne / .vimrc
Created April 30, 2011 11:42
Install vim plugins for scala
" Based on example from here: http://stackoverflow.com/questions/3626203/text-editor-for-scala
set nocompatible "Not vi compativle (Vim is king)
""""""""""""""""""""""""""""""""""
" Syntax and indent
""""""""""""""""""""""""""""""""""
syntax on " Turn on syntax highligthing
set showmatch "Show matching bracets when text indicator is over them
colorscheme delek
import scala.actors._
import scala.actors.Actor._
val helloActor = actor {
receive {
case nextActor : Actor => {
println("Hello Actor linked to " + nextActor)
while(true) {
receive {
case message : String => {