Files
neovim/runtime/compiler/dart2native.vim
zeertzjq 7fd2c868f7 vim-patch:f620c30: runtime(dart): Update compiler plugins
Use the unified dart command for all.

closes: vim/vim#20936

f620c30018

Co-authored-by: Doug Kearns <dougkearns@gmail.com>
2026-08-05 07:00:46 +08:00

25 lines
507 B
VimL

" Vim compiler file
" Compiler: Dart to Native Compiler
" Maintainer: Doug Kearns <dougkearns@gmail.com>
" Last Change: 2026 Aug 04
if exists("current_compiler")
finish
endif
let current_compiler = "dart2native"
let s:cpo_save = &cpo
set cpo&vim
CompilerSet makeprg=dart\ compile\ exe
CompilerSet errorformat=%E%f:%l:%c:\ Error:\ %m,
\%CTry\ %.%#,
\%Z\ %#^%\\+,
\%Z%$,
\%C%.%#,
\%E%f:\ %trror:\ %m,
\%-G%.%#
let &cpo = s:cpo_save
unlet s:cpo_save