Mercurial > vim
annotate runtime/compiler/rake.vim @ 10813:09eb5fd275e0 v8.0.0296
patch 8.0.0296: bracketed paste can only append, not insert
commit https://github.com/vim/vim/commit/fd8983b09c64d9bfa8a4bdc16d72c55fbb22b4dc
Author: Bram Moolenaar <Bram@vim.org>
Date: Thu Feb 2 22:21:29 2017 +0100
patch 8.0.0296: bracketed paste can only append, not insert
Problem: Bracketed paste can only append, not insert.
Solution: When the cursor is in the first column insert the text.
author | Christian Brabandt <cb@256bit.org> |
---|---|
date | Thu, 02 Feb 2017 22:30:04 +0100 |
parents | 43efa4f5a8ea |
children | f0f06837a699 |
rev | line source |
---|---|
4869 | 1 " Vim compiler file |
2 " Language: Rake | |
3 " Maintainer: Tim Pope <vimNOSPAM@tpope.org> | |
4 " URL: https://github.com/vim-ruby/vim-ruby | |
5 " Release Coordinator: Doug Kearns <dougkearns@gmail.com> | |
6 | |
7 if exists("current_compiler") | |
8 finish | |
9 endif | |
10 let current_compiler = "rake" | |
11 | |
12 if exists(":CompilerSet") != 2 " older Vim always used :setlocal | |
13 command -nargs=* CompilerSet setlocal <args> | |
14 endif | |
15 | |
16 let s:cpo_save = &cpo | |
17 set cpo-=C | |
18 | |
19 CompilerSet makeprg=rake | |
20 | |
21 CompilerSet errorformat= | |
22 \%D(in\ %f), | |
23 \%\\s%#from\ %f:%l:%m, | |
24 \%\\s%#from\ %f:%l:, | |
25 \%\\s%##\ %f:%l:%m, | |
26 \%\\s%##\ %f:%l, | |
27 \%\\s%#[%f:%l:\ %#%m, | |
28 \%\\s%#%f:%l:\ %#%m, | |
29 \%\\s%#%f:%l:, | |
10048
43efa4f5a8ea
commit https://github.com/vim/vim/commit/89bcfda6834aba724d12554a34b9ed49f5789fd5
Christian Brabandt <cb@256bit.org>
parents:
4869
diff
changeset
|
30 \%m\ [%f:%l]:, |
43efa4f5a8ea
commit https://github.com/vim/vim/commit/89bcfda6834aba724d12554a34b9ed49f5789fd5
Christian Brabandt <cb@256bit.org>
parents:
4869
diff
changeset
|
31 \%+Erake\ aborted!, |
43efa4f5a8ea
commit https://github.com/vim/vim/commit/89bcfda6834aba724d12554a34b9ed49f5789fd5
Christian Brabandt <cb@256bit.org>
parents:
4869
diff
changeset
|
32 \%+EDon't\ know\ how\ to\ build\ task\ %.%#, |
43efa4f5a8ea
commit https://github.com/vim/vim/commit/89bcfda6834aba724d12554a34b9ed49f5789fd5
Christian Brabandt <cb@256bit.org>
parents:
4869
diff
changeset
|
33 \%+Einvalid\ option:%.%#, |
43efa4f5a8ea
commit https://github.com/vim/vim/commit/89bcfda6834aba724d12554a34b9ed49f5789fd5
Christian Brabandt <cb@256bit.org>
parents:
4869
diff
changeset
|
34 \%+Irake\ %\\S%\\+%\\s%\\+#\ %.%# |
4869 | 35 |
36 let &cpo = s:cpo_save | |
37 unlet s:cpo_save | |
38 | |
39 " vim: nowrap sw=2 sts=2 ts=8: |