javac.vim 399 B

123456789101112131415161718
  1. " Vim compiler file
  2. " Compiler: javac
  3. " Maintainer: Doug Kearns <dougkearns@gmail.com>
  4. " Last Change: 2004 Nov 27
  5. if exists("current_compiler")
  6. finish
  7. endif
  8. let current_compiler = "javac"
  9. if exists(":CompilerSet") != 2 " older Vim always used :setlocal
  10. command -nargs=* CompilerSet setlocal <args>
  11. endif
  12. CompilerSet makeprg=javac
  13. CompilerSet errorformat=%E%f:%l:\ %m,%-Z%p^,%-C%.%#,%-G%.%#