annotate runtime/compiler/rubyunit.vim @ 5517:064e2a080e2e v7.4.107

updated for version 7.4.107 Problem: Python: When vim.eval() encounters a Vim error, a try/catch in the Python code doesn't catch it. (Yggdroot Chen) Solution: Throw exceptions on errors in vim.eval(). (ZyX)
author Bram Moolenaar <bram@vim.org>
date Thu, 28 Nov 2013 17:04:43 +0100
parents a5352e73dc00
children 43efa4f5a8ea
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
533
c8b6b7e1005d updated for version 7.0150
vimboss
parents:
diff changeset
1 " Vim compiler file
833
52d17d53b555 updated for version 7.0d05
vimboss
parents: 557
diff changeset
2 " Language: Test::Unit - Ruby Unit Testing Framework
52d17d53b555 updated for version 7.0d05
vimboss
parents: 557
diff changeset
3 " Maintainer: Doug Kearns <dougkearns@gmail.com>
4869
a5352e73dc00 Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 2225
diff changeset
4 " URL: https://github.com/vim-ruby/vim-ruby
833
52d17d53b555 updated for version 7.0d05
vimboss
parents: 557
diff changeset
5 " Release Coordinator: Doug Kearns <dougkearns@gmail.com>
533
c8b6b7e1005d updated for version 7.0150
vimboss
parents:
diff changeset
6
c8b6b7e1005d updated for version 7.0150
vimboss
parents:
diff changeset
7 if exists("current_compiler")
c8b6b7e1005d updated for version 7.0150
vimboss
parents:
diff changeset
8 finish
c8b6b7e1005d updated for version 7.0150
vimboss
parents:
diff changeset
9 endif
c8b6b7e1005d updated for version 7.0150
vimboss
parents:
diff changeset
10 let current_compiler = "rubyunit"
c8b6b7e1005d updated for version 7.0150
vimboss
parents:
diff changeset
11
c8b6b7e1005d updated for version 7.0150
vimboss
parents:
diff changeset
12 if exists(":CompilerSet") != 2 " older Vim always used :setlocal
c8b6b7e1005d updated for version 7.0150
vimboss
parents:
diff changeset
13 command -nargs=* CompilerSet setlocal <args>
c8b6b7e1005d updated for version 7.0150
vimboss
parents:
diff changeset
14 endif
c8b6b7e1005d updated for version 7.0150
vimboss
parents:
diff changeset
15
c8b6b7e1005d updated for version 7.0150
vimboss
parents:
diff changeset
16 let s:cpo_save = &cpo
c8b6b7e1005d updated for version 7.0150
vimboss
parents:
diff changeset
17 set cpo-=C
c8b6b7e1005d updated for version 7.0150
vimboss
parents:
diff changeset
18
c8b6b7e1005d updated for version 7.0150
vimboss
parents:
diff changeset
19 CompilerSet makeprg=testrb
c8b6b7e1005d updated for version 7.0150
vimboss
parents:
diff changeset
20
c8b6b7e1005d updated for version 7.0150
vimboss
parents:
diff changeset
21 CompilerSet errorformat=\%W\ %\\+%\\d%\\+)\ Failure:,
c8b6b7e1005d updated for version 7.0150
vimboss
parents:
diff changeset
22 \%C%m\ [%f:%l]:,
549
e9ddb2181f06 updated for version 7.0155
vimboss
parents: 533
diff changeset
23 \%E\ %\\+%\\d%\\+)\ Error:,
533
c8b6b7e1005d updated for version 7.0150
vimboss
parents:
diff changeset
24 \%C%m:,
c8b6b7e1005d updated for version 7.0150
vimboss
parents:
diff changeset
25 \%C\ \ \ \ %f:%l:%.%#,
c8b6b7e1005d updated for version 7.0150
vimboss
parents:
diff changeset
26 \%C%m,
c8b6b7e1005d updated for version 7.0150
vimboss
parents:
diff changeset
27 \%Z\ %#,
c8b6b7e1005d updated for version 7.0150
vimboss
parents:
diff changeset
28 \%-G%.%#
c8b6b7e1005d updated for version 7.0150
vimboss
parents:
diff changeset
29
c8b6b7e1005d updated for version 7.0150
vimboss
parents:
diff changeset
30 let &cpo = s:cpo_save
c8b6b7e1005d updated for version 7.0150
vimboss
parents:
diff changeset
31 unlet s:cpo_save
c8b6b7e1005d updated for version 7.0150
vimboss
parents:
diff changeset
32
1624
18ee39301b82 updated for version 7.2a
vimboss
parents: 833
diff changeset
33 " vim: nowrap sw=2 sts=2 ts=8: