annotate runtime/compiler/rake.vim @ 33850:9fc745451034 v9.0.2136

patch 9.0.2136: MSVC errorformat can be improved Commit: https://github.com/vim/vim/commit/8ceb99001b52d0c642e7532763ec9d8217ee86e3 Author: Shawn Hatori <shawn.hatori@gmail.com> Date: Tue Nov 28 20:51:07 2023 +0100 patch 9.0.2136: MSVC errorformat can be improved Problem: MSVC errorformat can be improved Solution: parse error type and column number in MSVC errorformat closes: #13587 Signed-off-by: Shawn Hatori <shawn.hatori@gmail.com> Signed-off-by: Christian Brabandt <cb@256bit.org>
author Christian Brabandt <cb@256bit.org>
date Tue, 28 Nov 2023 21:00:08 +0100
parents f0f06837a699
children e1df51f68736
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
4869
a5352e73dc00 Update runtime files.
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
1 " Vim compiler file
a5352e73dc00 Update runtime files.
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
2 " Language: Rake
a5352e73dc00 Update runtime files.
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
3 " Maintainer: Tim Pope <vimNOSPAM@tpope.org>
a5352e73dc00 Update runtime files.
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
4 " URL: https://github.com/vim-ruby/vim-ruby
a5352e73dc00 Update runtime files.
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
5 " Release Coordinator: Doug Kearns <dougkearns@gmail.com>
15512
f0f06837a699 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents: 10048
diff changeset
6 " Last Change: 2018 Mar 02
4869
a5352e73dc00 Update runtime files.
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
7
a5352e73dc00 Update runtime files.
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
8 if exists("current_compiler")
a5352e73dc00 Update runtime files.
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
9 finish
a5352e73dc00 Update runtime files.
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
10 endif
a5352e73dc00 Update runtime files.
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
11 let current_compiler = "rake"
a5352e73dc00 Update runtime files.
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
12
a5352e73dc00 Update runtime files.
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
13 if exists(":CompilerSet") != 2 " older Vim always used :setlocal
a5352e73dc00 Update runtime files.
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
14 command -nargs=* CompilerSet setlocal <args>
a5352e73dc00 Update runtime files.
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
15 endif
a5352e73dc00 Update runtime files.
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
16
a5352e73dc00 Update runtime files.
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
17 let s:cpo_save = &cpo
a5352e73dc00 Update runtime files.
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
18 set cpo-=C
a5352e73dc00 Update runtime files.
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
19
a5352e73dc00 Update runtime files.
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
20 CompilerSet makeprg=rake
a5352e73dc00 Update runtime files.
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
21
a5352e73dc00 Update runtime files.
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
22 CompilerSet errorformat=
a5352e73dc00 Update runtime files.
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
23 \%D(in\ %f),
15512
f0f06837a699 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents: 10048
diff changeset
24 \%\\s%#%\\d%#:%#\ %#from\ %f:%l:%m,
f0f06837a699 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents: 10048
diff changeset
25 \%\\s%#%\\d%#:%#\ %#from\ %f:%l:,
f0f06837a699 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents: 10048
diff changeset
26 \%\\s%##\ %f:%l:%m%\\&%.%#%\\D:%\\d%\\+:%.%#,
f0f06837a699 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents: 10048
diff changeset
27 \%\\s%##\ %f:%l%\\&%.%#%\\D:%\\d%\\+,
f0f06837a699 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents: 10048
diff changeset
28 \%\\s%#[%f:%l:\ %#%m%\\&%.%#%\\D:%\\d%\\+:%.%#,
f0f06837a699 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents: 10048
diff changeset
29 \%\\s%#%f:%l:\ %#%m%\\&%.%#%\\D:%\\d%\\+:%.%#,
4869
a5352e73dc00 Update runtime files.
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
30 \%\\s%#%f:%l:,
10048
43efa4f5a8ea commit https://github.com/vim/vim/commit/89bcfda6834aba724d12554a34b9ed49f5789fd5
Christian Brabandt <cb@256bit.org>
parents: 4869
diff changeset
31 \%m\ [%f:%l]:,
43efa4f5a8ea commit https://github.com/vim/vim/commit/89bcfda6834aba724d12554a34b9ed49f5789fd5
Christian Brabandt <cb@256bit.org>
parents: 4869
diff changeset
32 \%+Erake\ aborted!,
43efa4f5a8ea commit https://github.com/vim/vim/commit/89bcfda6834aba724d12554a34b9ed49f5789fd5
Christian Brabandt <cb@256bit.org>
parents: 4869
diff changeset
33 \%+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
34 \%+Einvalid\ option:%.%#,
43efa4f5a8ea commit https://github.com/vim/vim/commit/89bcfda6834aba724d12554a34b9ed49f5789fd5
Christian Brabandt <cb@256bit.org>
parents: 4869
diff changeset
35 \%+Irake\ %\\S%\\+%\\s%\\+#\ %.%#
4869
a5352e73dc00 Update runtime files.
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
36
a5352e73dc00 Update runtime files.
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
37 let &cpo = s:cpo_save
a5352e73dc00 Update runtime files.
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
38 unlet s:cpo_save
a5352e73dc00 Update runtime files.
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
39
a5352e73dc00 Update runtime files.
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
40 " vim: nowrap sw=2 sts=2 ts=8: