view runtime/compiler/dart2js.vim @ 33515:f41bdc22abcd v9.0.2006

patch 9.0.2006: Vim9: need more tests Commit: https://github.com/vim/vim/commit/f4ee1cb74ba86383190ffcda84147892f7740f21 Author: Yegappan Lakshmanan <yegappan@yahoo.com> Date: Mon Oct 9 17:57:27 2023 +0200 patch 9.0.2006: Vim9: need more tests Problem: Vim9: need more tests Solution: add additional disassembly tests closes: #13305 Signed-off-by: Christian Brabandt <cb@256bit.org> Co-authored-by: Yegappan Lakshmanan <yegappan@yahoo.com>
author Christian Brabandt <cb@256bit.org>
date Mon, 09 Oct 2023 18:00:10 +0200
parents d4c7b3e9cd17
children e1df51f68736
line wrap: on
line source

" Vim compiler file
" Compiler:	Dart to JavaScript Compiler
" Maintainer:	Doug Kearns <dougkearns@gmail.com>
" Last Change:	2019 May 08

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

if exists(":CompilerSet") != 2		" older Vim always used :setlocal
  command -nargs=* CompilerSet setlocal <args>
endif

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