public
Last active

vim maven compiler file

  • Download Gist
maven.vim
VimL
1 2 3 4 5 6 7 8 9 10 11
" 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%.%#
scalac.vim
VimL
1 2 3 4 5 6 7 8 9 10 11 12
" 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%.%#
scalai.vim
VimL
1 2 3 4 5 6 7 8 9 10 11 12
" 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%.%#

Please sign in to comment on this gist.

Something went wrong with that request. Please try again.