1" Vim compiler file
2" Compiler:	Dart to Native Compiler
3" Maintainer:	Doug Kearns <[email protected]>
4" Last Change:	2019 May 08
5
6if exists("current_compiler")
7  finish
8endif
9let current_compiler = "dart2native"
10
11if exists(":CompilerSet") != 2		" older Vim always used :setlocal
12  command -nargs=* CompilerSet setlocal <args>
13endif
14
15let s:cpo_save = &cpo
16set cpo&vim
17
18CompilerSet makeprg=dart2native
19CompilerSet errorformat=%E%f:%l:%c:\ Error:\ %m,
20		       \%CTry\ %.%#,
21		       \%Z\ %#^%\\+,
22		       \%Z%$,
23		       \%C%.%#,
24		       \%E%f:\ %trror:\ %m,
25		       \%-G%.%#
26
27let &cpo = s:cpo_save
28unlet s:cpo_save
29