Navigation Menu

Skip to content

Instantly share code, notes, and snippets.

@olafurpg
Created June 16, 2016 20:53
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save olafurpg/09dbcc78d93b0a06543eb141f4355905 to your computer and use it in GitHub Desktop.
Save olafurpg/09dbcc78d93b0a06543eb141f4355905 to your computer and use it in GitHub Desktop.
// Columns 80 |
object Demo {
DBObject(User(Name("Martin", "Odersky"), Language("Scala")), Address("Lausanne", "Switzerland"))
StandardOutLogger.print( Error(new LoggerException, logName, this.getClass, "unknown akka.loglevel " + system.settings.LogLevel))
checkAll("CofreeZipLazyOption", applicative.laws[CofreeZipLazyOption]( implicitly, implicitly, implicitly, implicitly, CofreeZipLazyOptionEqualMonadAAAAA))
}
@olafurpg
Copy link
Author

brew install olafurpg/scalafmt/scalafmt

// ~/.vimrc
noremap <F5> :Autoformat<CR>
let g:formatdef_scalafmt = "'scalafmt --range '.a:firstline.'='.a:lastline"
let g:formatters_scala = ['scalafmt']

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment