summaryrefslogtreecommitdiffstats
path: root/runtime/compiler/dartfmt.vim
blob: d204df8a73eba071c38c39e5c79a17e496dcb36c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
" Vim compiler file
" Compiler:	Dart Formatter
" Maintainer:	Doug Kearns <dougkearns@gmail.com>
" Last Change:	2024 Apr 03

if exists("current_compiler")
  finish
endif
let current_compiler = "dartfmt"

let s:cpo_save = &cpo
set cpo&vim

CompilerSet makeprg=dartfmt
CompilerSet errorformat=%Eline\ %l\\,\ column\ %c\ of\ %f:\ %m,
		       \%Z\ %\\{3}│\ %\\+^%\\+,
		       \%C%.%#,
		       \%-G%.%#

let &cpo = s:cpo_save
unlet s:cpo_save