Mercurial > vim
annotate runtime/compiler/dartdevc.vim @ 35299:2cc507d1afa2 default tip
runtime(java): Improve the matching of lambda expressions (#14880)
Commit: https://github.com/vim/vim/commit/7129f2ad2fd9de3e3812a569ba3ad6bf162fd238
Author: Aliaksei Budavei <32549825+zzzyxwvut@users.noreply.github.com>
Date: Fri May 31 12:11:34 2024 +0300
runtime(java): Improve the matching of lambda expressions (https://github.com/vim/vim/issues/14880)
- Distinguish some formal parameters.
- Support multi-line definitions.
Signed-off-by: Aliaksei Budavei <0x000c70@gmail.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
author | Christian Brabandt <cb@256bit.org> |
---|---|
date | Fri, 31 May 2024 11:15:05 +0200 |
parents | e1df51f68736 |
children |
rev | line source |
---|---|
22171 | 1 " Vim compiler file |
2 " Compiler: Dart Development Compiler | |
3 " Maintainer: Doug Kearns <dougkearns@gmail.com> | |
34778
e1df51f68736
runtime: Remove fallback :CompilerSet definition from compiler plugins
Christian Brabandt <cb@256bit.org>
parents:
22171
diff
changeset
|
4 " Last Change: 2024 Apr 03 |
22171 | 5 |
6 if exists("current_compiler") | |
7 finish | |
8 endif | |
9 let current_compiler = "dartdevc" | |
10 | |
11 let s:cpo_save = &cpo | |
12 set cpo&vim | |
13 | |
14 CompilerSet makeprg=dartdevc | |
15 CompilerSet errorformat=%E%f:%l:%c:\ Error:\ %m, | |
16 \%CTry\ %.%#, | |
17 \%Z\ %#^%\\+, | |
18 \%Z%$, | |
19 \%C%.%#, | |
20 \%E%f:\ %trror:\ %m, | |
21 \%-G%.%# | |
22 | |
23 let &cpo = s:cpo_save | |
24 unlet s:cpo_save |