Mercurial > vim
view runtime/compiler/dart2js.vim @ 25767:dfa045d2cc89 v8.2.3419
patch 8.2.3419: a failing debug expression may make Vim unusable
Commit: https://github.com/vim/vim/commit/0325d3967ce7d0fd35bc1472fd476b911b895b76
Author: Bram Moolenaar <Bram@vim.org>
Date: Thu Sep 9 12:34:19 2021 +0200
patch 8.2.3419: a failing debug expression may make Vim unusable
Problem: A failing debug expression may make Vim unusable.
Solution: Suppress error messages. (closes https://github.com/vim/vim/issues/8848)
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Thu, 09 Sep 2021 12:45:03 +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