Mercurial > vim
annotate runtime/compiler/dart.vim @ 30924:ae3970cc28cb v9.0.0796
patch 9.0.0796: mapping test fails in some situations
Commit: https://github.com/vim/vim/commit/060b8384888ce91b1bc194101091d0f9f85d0490
Author: Bram Moolenaar <Bram@vim.org>
Date: Wed Oct 19 14:48:14 2022 +0100
patch 9.0.0796: mapping test fails in some situations
Problem: Mapping test fails in some situations.
Solution: Find the line with the verbose information.
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Wed, 19 Oct 2022 16:00:03 +0200 |
parents | d4c7b3e9cd17 |
children | e1df51f68736 |
rev | line source |
---|---|
22171 | 1 " Vim compiler file |
2 " Compiler: Dart VM | |
3 " Maintainer: Doug Kearns <dougkearns@gmail.com> | |
4 " Last Change: 2019 May 08 | |
5 | |
6 if exists("current_compiler") | |
7 finish | |
8 endif | |
9 let current_compiler = "dart" | |
10 | |
11 if exists(":CompilerSet") != 2 " older Vim always used :setlocal | |
12 command -nargs=* CompilerSet setlocal <args> | |
13 endif | |
14 | |
15 let s:cpo_save = &cpo | |
16 set cpo&vim | |
17 | |
18 CompilerSet makeprg=dart | |
19 CompilerSet errorformat=%E%f:%l:%c:\ Error:\ %m, | |
20 \%CTry\ %.%#, | |
21 \%Z\ %#^%\\+, | |
22 \%C%.%#, | |
23 \%-G%.%# | |
24 | |
25 let &cpo = s:cpo_save | |
26 unlet s:cpo_save |