Mercurial > vim
annotate runtime/compiler/rubyunit.vim @ 24266:982786f8454d v8.2.2674
patch 8.2.2674: Motif: cancelling the font dialog resets the font
Commit: https://github.com/vim/vim/commit/9dbe701fe19597ad59c0e0c70a05927b587bea9f
Author: Bram Moolenaar <Bram@vim.org>
Date: Mon Mar 29 20:10:26 2021 +0200
patch 8.2.2674: Motif: cancelling the font dialog resets the font
Problem: Motif: cancelling the font dialog resets the font.
Solution: When no font is selected to not change the font. (closes https://github.com/vim/vim/issues/7825,
closes #8035) Fix compiler warnings.
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Mon, 29 Mar 2021 20:15:03 +0200 |
parents | f0f06837a699 |
children | e1df51f68736 |
rev | line source |
---|---|
533 | 1 " Vim compiler file |
833 | 2 " Language: Test::Unit - Ruby Unit Testing Framework |
3 " Maintainer: Doug Kearns <dougkearns@gmail.com> | |
4869 | 4 " URL: https://github.com/vim-ruby/vim-ruby |
833 | 5 " Release Coordinator: Doug Kearns <dougkearns@gmail.com> |
15512 | 6 " Last Change: 2014 Mar 23 |
533 | 7 |
8 if exists("current_compiler") | |
9 finish | |
10 endif | |
11 let current_compiler = "rubyunit" | |
12 | |
13 if exists(":CompilerSet") != 2 " older Vim always used :setlocal | |
14 command -nargs=* CompilerSet setlocal <args> | |
15 endif | |
16 | |
17 let s:cpo_save = &cpo | |
18 set cpo-=C | |
19 | |
20 CompilerSet makeprg=testrb | |
10048
43efa4f5a8ea
commit https://github.com/vim/vim/commit/89bcfda6834aba724d12554a34b9ed49f5789fd5
Christian Brabandt <cb@256bit.org>
parents:
4869
diff
changeset
|
21 " CompilerSet makeprg=ruby\ -Itest |
43efa4f5a8ea
commit https://github.com/vim/vim/commit/89bcfda6834aba724d12554a34b9ed49f5789fd5
Christian Brabandt <cb@256bit.org>
parents:
4869
diff
changeset
|
22 " CompilerSet makeprg=m |
533 | 23 |
24 CompilerSet errorformat=\%W\ %\\+%\\d%\\+)\ Failure:, | |
25 \%C%m\ [%f:%l]:, | |
549 | 26 \%E\ %\\+%\\d%\\+)\ Error:, |
533 | 27 \%C%m:, |
28 \%C\ \ \ \ %f:%l:%.%#, | |
29 \%C%m, | |
30 \%Z\ %#, | |
31 \%-G%.%# | |
32 | |
33 let &cpo = s:cpo_save | |
34 unlet s:cpo_save | |
35 | |
1624 | 36 " vim: nowrap sw=2 sts=2 ts=8: |