Mercurial > vim
annotate runtime/compiler/mcs.vim @ 34387:e6defaa1e46a v9.1.0120
patch 9.1.0120: hard to get visual region using Vim script
Commit: https://github.com/vim/vim/commit/3f905ab3c4f66562f4a224bf00f49d98a0b0da91
Author: Shougo Matsushita <Shougo.Matsu@gmail.com>
Date: Wed Feb 21 00:02:45 2024 +0100
patch 9.1.0120: hard to get visual region using Vim script
Problem: hard to get visual region using Vim script
Solution: Add getregion() Vim script function
(Shougo Matsushita, Jakub ?uczy?ski)
closes: #13998
closes: #11579
Co-authored-by: =?UTF-8?q?Jakub=20=C5=81uczy=C5=84ski?= <doubleloop@o2.pl>
Co-authored-by: Shougo Matsushita <Shougo.Matsu@gmail.com>
Signed-off-by: Shougo Matsushita <Shougo.Matsu@gmail.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
author | Christian Brabandt <cb@256bit.org> |
---|---|
date | Wed, 21 Feb 2024 00:15:02 +0100 |
parents | 9910cbff5f16 |
children | 2c3f939d46bf |
rev | line source |
---|---|
1125 | 1 " Vim compiler file |
2 " Compiler: Mono C# Compiler | |
3 " Maintainer: Jarek Sobiecki <harijari@go2.pl> | |
3713 | 4 " Last Updated By: Peter Collingbourne |
5 " Latest Revision: 2012 Jul 19 | |
1125 | 6 |
7 if exists("current_compiler") | |
8 finish | |
9 endif | |
10 let current_compiler = "mcs" | |
11 | |
12 let s:cpo_save = &cpo | |
13 set cpo-=C | |
14 | |
15 setlocal errorformat= | |
3713 | 16 \%D%.%#Project\ \"%f/%[%^/\"]%#\"%.%#, |
17 \%X%.%#Done\ building\ project\ \"%f/%[%^/\"]%#\"%.%#, | |
18 \%-G%\\s%.%#, | |
19 \%E%f(%l):\ error\ CS%n:%m, | |
20 \%W%f(%l):\ warning\ CS%n:%m, | |
1125 | 21 \%E%f(%l\\,%c):\ error\ CS%n:%m, |
22 \%W%f(%l\\,%c):\ warning\ CS%n:%m, | |
23 \%E%>syntax\ error\\,%m,%Z%f(%l\\,%c):\ error\ CS%n:%m, | |
24 \%D%*\\a[%*\\d]:\ Entering\ directory\ `%f', | |
25 \%X%*\\a[%*\\d]:\ Leaving\ directory\ `%f', | |
26 \%DMaking\ %*\\a\ in\ %f, | |
3713 | 27 \%-G%.%# |
1125 | 28 |
29 let &cpo = s:cpo_save | |
30 unlet s:cpo_save |