Mercurial > vim
annotate runtime/compiler/ant.vim @ 35176:bbbd250e3d7a default tip
runtime(i3config/swayconfig): allow indented commands (#14757)
Commit: https://github.com/vim/vim/commit/679f5abb9930fafda29ae038f47de357e9a0f53e
Author: Josef Lito? <54900518+JosefLitos@users.noreply.github.com>
Date: Mon May 13 22:03:42 2024 +0200
runtime(i3config/swayconfig): allow indented commands (https://github.com/vim/vim/issues/14757)
fixes: https://github.com/vim/vim/issues/14752
Co-authored-by: jamespeapen <jamespeapen@users.noreply.github.com>
Signed-off-by: Josef Lito? <54900518+JosefLitos@users.noreply.github.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
author | Christian Brabandt <cb@256bit.org> |
---|---|
date | Mon, 13 May 2024 22:15:04 +0200 |
parents | e1df51f68736 |
children |
rev | line source |
---|---|
7 | 1 " Vim Compiler File |
2 " Compiler: ant | |
3 " Maintainer: Johannes Zellner <johannes@zellner.org> | |
236 | 4 " Last Change: Mi, 13 Apr 2005 22:50:07 CEST |
34778
e1df51f68736
runtime: Remove fallback :CompilerSet definition from compiler plugins
Christian Brabandt <cb@256bit.org>
parents:
236
diff
changeset
|
5 " 2024 Apr 03 by The Vim Project (removed :CompilerSet definition) |
7 | 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 " | |
236 | 21 " <property name = "build.compiler" value = "jikes"/> |
22 " <property name = "build.compiler.emacs" value = "true"/> | |
7 | 23 " |
24 " second line: | |
25 " ant with javac | |
26 " | |
27 " note that this will work also for tasks like [wtkbuild] | |
28 " | |
236 | 29 CompilerSet errorformat=\ %#[%.%#]\ %#%f:%l:%v:%*\\d:%*\\d:\ %t%[%^:]%#:%m, |
7 | 30 \%A\ %#[%.%#]\ %f:%l:\ %m,%-Z\ %#[%.%#]\ %p^,%C\ %#[%.%#]\ %#%m |
31 | |
32 " ,%-C%.%# | |
33 | |
34 let &cpo = s:cpo_save | |
35 unlet s:cpo_save |