neovim

Neovim text editor
git clone https://git.dasho.dev/neovim.git
Log | Files | Refs | README

ant.vim (889B)


      1 " Vim Compiler File
      2 " Compiler:	ant
      3 " Maintainer:	Johannes Zellner <johannes@zellner.org>
      4 " Last Change:	Mi, 13 Apr 2005 22:50:07 CEST
      5 "		2024 Apr 03 by The Vim Project (removed :CompilerSet definition)
      6 
      7 if exists("current_compiler")
      8    finish
      9 endif
     10 let current_compiler = "ant"
     11 
     12 let s:cpo_save = &cpo
     13 set cpo&vim
     14 
     15 CompilerSet makeprg=ant
     16 
     17 " first  line:
     18 "     ant with jikes +E, which assumes  the following
     19 "     two property lines in your 'build.xml':
     20 "
     21 "         <property name = "build.compiler"       value = "jikes"/>
     22 "         <property name = "build.compiler.emacs" value = "true"/>
     23 "
     24 " second line:
     25 "     ant with javac
     26 "
     27 " note that this will work also for tasks like [wtkbuild]
     28 "
     29 CompilerSet errorformat=\ %#[%.%#]\ %#%f:%l:%v:%*\\d:%*\\d:\ %t%[%^:]%#:%m,
     30    \%A\ %#[%.%#]\ %f:%l:\ %m,%-Z\ %#[%.%#]\ %p^,%C\ %#[%.%#]\ %#%m
     31 
     32 " ,%-C%.%#
     33 
     34 let &cpo = s:cpo_save
     35 unlet s:cpo_save