view runtime/compiler/dart2js.vim @ 35359:082986a7377d default tip

runtime(doc): Added definitions of Vim scripts and plugins Commit: https://github.com/vim/vim/commit/c593b9ead9b4346724187ab604fa593ead1fa4b2 Author: Ubaldo Tiberi <ubaldo.tiberi@gmail.com> Date: Sun Jun 9 18:47:53 2024 +0200 runtime(doc): Added definitions of Vim scripts and plugins closes: https://github.com/vim/vim/issues/14935 Signed-off-by: Ubaldo Tiberi <ubaldo.tiberi@gmail.com> Signed-off-by: Christian Brabandt <cb@256bit.org>
author Christian Brabandt <cb@256bit.org>
date Sun, 09 Jun 2024 19:00:03 +0200
parents e1df51f68736
children
line wrap: on
line source

" Vim compiler file
" Compiler:	Dart to JavaScript Compiler
" Maintainer:	Doug Kearns <dougkearns@gmail.com>
" Last Change:	2024 Apr 03

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

let s:cpo_save = &cpo
set cpo&vim

CompilerSet makeprg=dart2js
CompilerSet errorformat=%E%f:%l:%c:,
		       \%-GError:\ Compilation\ failed.,
		       \%CError:\ %m,
		       \%Z\ %#^%\\+,
		       \%C%.%#,
		       \%trror:\ %m,
		       \%-G%.%#

let &cpo = s:cpo_save
unlet s:cpo_save