comparison runtime/compiler/ruby.vim @ 15512:f0f06837a699

Update runtime files. commit https://github.com/vim/vim/commit/d09091d4955c5f41de69928f2db85611ed54ed23 Author: Bram Moolenaar <Bram@vim.org> Date: Thu Jan 17 16:07:22 2019 +0100 Update runtime files.
author Bram Moolenaar <Bram@vim.org>
date Thu, 17 Jan 2019 16:15:08 +0100
parents a5352e73dc00
children e1df51f68736
comparison
equal deleted inserted replaced
15511:f41122780189 15512:f0f06837a699
2 " Language: Ruby 2 " Language: Ruby
3 " Function: Syntax check and/or error reporting 3 " Function: Syntax check and/or error reporting
4 " Maintainer: Tim Pope <vimNOSPAM@tpope.org> 4 " Maintainer: Tim Pope <vimNOSPAM@tpope.org>
5 " URL: https://github.com/vim-ruby/vim-ruby 5 " URL: https://github.com/vim-ruby/vim-ruby
6 " Release Coordinator: Doug Kearns <dougkearns@gmail.com> 6 " Release Coordinator: Doug Kearns <dougkearns@gmail.com>
7 " ---------------------------------------------------------------------------- 7 " Last Change: 2019 Jan 06
8 8
9 if exists("current_compiler") 9 if exists("current_compiler")
10 finish 10 finish
11 endif 11 endif
12 let current_compiler = "ruby" 12 let current_compiler = "ruby"
19 set cpo-=C 19 set cpo-=C
20 20
21 " default settings runs script normally 21 " default settings runs script normally
22 " add '-c' switch to run syntax check only: 22 " add '-c' switch to run syntax check only:
23 " 23 "
24 " CompilerSet makeprg=ruby\ -wc\ $* 24 " CompilerSet makeprg=ruby\ -c
25 " 25 "
26 " or add '-c' at :make command line: 26 " or add '-c' at :make command line:
27 " 27 "
28 " :make -c %<CR> 28 " :make -c %<CR>
29 " 29 "
30 CompilerSet makeprg=ruby\ -w\ $* 30 CompilerSet makeprg=ruby
31 31
32 CompilerSet errorformat= 32 CompilerSet errorformat=
33 \%+E%f:%l:\ parse\ error, 33 \%+E%f:%l:\ parse\ error,
34 \%W%f:%l:\ warning:\ %m, 34 \%W%f:%l:\ warning:\ %m,
35 \%E%f:%l:in\ %*[^:]:\ %m, 35 \%E%f:%l:in\ %*[^:]:\ %m,
36 \%E%f:%l:\ %m, 36 \%E%f:%l:\ %m,
37 \%-C%\tfrom\ %f:%l:in\ %.%#, 37 \%-C%\t%\\d%#:%#\ %#from\ %f:%l:in\ %.%#,
38 \%-Z%\tfrom\ %f:%l, 38 \%-Z%\t%\\d%#:%#\ %#from\ %f:%l,
39 \%-Z%p^, 39 \%-Z%p^,
40 \%-G%.%# 40 \%-G%.%#
41 41
42 let &cpo = s:cpo_save 42 let &cpo = s:cpo_save
43 unlet s:cpo_save 43 unlet s:cpo_save