Skip to content

Instantly share code, notes, and snippets.

@schmmd
Created October 27, 2011 18:17
Show Gist options
  • Star 2 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save schmmd/1320359 to your computer and use it in GitHub Desktop.
Save schmmd/1320359 to your computer and use it in GitHub Desktop.
vim maven compiler file
" Compiler: maven
" Author: Michael Schmitz <michael@schmitztech.com>
" Last Change: 10/27/2011
if exists("current_compiler")
finish
endif
let current_compiler = "maven"
set makeprg=mvn\ clean\ compile
set errorformat=\[ERROR]\ %f:%l:\ %m,%-G%.%#
" Compiler: scala compiler (scalac)
" Author: Michael Schmitz <michael@schmitztech.com>
" Last Change: 10/27/2011
if exists("current_compiler")
finish
endif
let current_compiler = "scalac"
set makeprg=scalac\ %
set errorformat=%E%f:%l:\ error:\ %m,%Z%p^,%-C%.%#,
\%-G%.%#
" Compiler: scala interpreter (scalai)
" Author: Michael Schmitz <michael@schmitztech.com>
" Last Change: 10/27/2011
if exists("current_compiler")
finish
endif
let current_compiler = "scalai"
set makeprg=scala\ %
set errorformat=%E%f:%l:\ error:\ %m,%Z%p^,%-C%.%#,
\%-G%.%#
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment