annotate runtime/compiler/rake.vim @ 12485:ab40ecb0fd73 v8.0.1122

patch 8.0.1122: vimtutor.bat doesn't work well with vim.bat commit https://github.com/vim/vim/commit/dde403c2d8f3dabe6fefa7b526958b49a8f2e6e9 Author: Bram Moolenaar <Bram@vim.org> Date: Sun Sep 17 21:43:00 2017 +0200 patch 8.0.1122: vimtutor.bat doesn't work well with vim.bat Problem: vimtutor.bat doesn't work well with vim.bat. Solution: Use "call vim". (Ken Takata, closes https://github.com/vim/vim/issues/2105)
author Christian Brabandt <cb@256bit.org>
date Sun, 17 Sep 2017 21:45:04 +0200
parents 43efa4f5a8ea
children f0f06837a699
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>
a5352e73dc00 Update runtime files.
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
6
a5352e73dc00 Update runtime files.
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
7 if exists("current_compiler")
a5352e73dc00 Update runtime files.
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
8 finish
a5352e73dc00 Update runtime files.
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
9 endif
a5352e73dc00 Update runtime files.
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
10 let current_compiler = "rake"
a5352e73dc00 Update runtime files.
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
11
a5352e73dc00 Update runtime files.
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
12 if exists(":CompilerSet") != 2 " older Vim always used :setlocal
a5352e73dc00 Update runtime files.
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
13 command -nargs=* CompilerSet setlocal <args>
a5352e73dc00 Update runtime files.
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
14 endif
a5352e73dc00 Update runtime files.
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
15
a5352e73dc00 Update runtime files.
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
16 let s:cpo_save = &cpo
a5352e73dc00 Update runtime files.
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
17 set cpo-=C
a5352e73dc00 Update runtime files.
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
18
a5352e73dc00 Update runtime files.
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
19 CompilerSet makeprg=rake
a5352e73dc00 Update runtime files.
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
20
a5352e73dc00 Update runtime files.
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
21 CompilerSet errorformat=
a5352e73dc00 Update runtime files.
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
22 \%D(in\ %f),
a5352e73dc00 Update runtime files.
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
23 \%\\s%#from\ %f:%l:%m,
a5352e73dc00 Update runtime files.
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
24 \%\\s%#from\ %f:%l:,
a5352e73dc00 Update runtime files.
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
25 \%\\s%##\ %f:%l:%m,
a5352e73dc00 Update runtime files.
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
26 \%\\s%##\ %f:%l,
a5352e73dc00 Update runtime files.
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
27 \%\\s%#[%f:%l:\ %#%m,
a5352e73dc00 Update runtime files.
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
28 \%\\s%#%f:%l:\ %#%m,
a5352e73dc00 Update runtime files.
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
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
a5352e73dc00 Update runtime files.
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
35
a5352e73dc00 Update runtime files.
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
36 let &cpo = s:cpo_save
a5352e73dc00 Update runtime files.
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
37 unlet s:cpo_save
a5352e73dc00 Update runtime files.
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
38
a5352e73dc00 Update runtime files.
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
39 " vim: nowrap sw=2 sts=2 ts=8: