annotate runtime/compiler/ruby.vim @ 34633:45d13860879a v9.1.0203

patch 9.1.0203: build-error on GNU/Hurd Commit: https://github.com/vim/vim/commit/4a95377593d06599a88670fcb6b49041a4b47abe Author: James McCoy <jamessan@jamessan.com> Date: Mon Mar 25 16:22:23 2024 +0100 patch 9.1.0203: build-error on GNU/Hurd Problem: build-error on GNU HURD Solution: Define _XOPEN_SOURCE like for Android and Cygwin (James McCoy) strptime() requires _XOPEN_SOURCE to be defined for its declaration to be visible. This is already done for non-Android Linux and Cygwin, but also needs to be exposed for GNU/Hurd. closes: #14285 Signed-off-by: James McCoy <jamessan@jamessan.com> Signed-off-by: Christian Brabandt <cb@256bit.org>
author Christian Brabandt <cb@256bit.org>
date Mon, 25 Mar 2024 16:30:12 +0100
parents f0f06837a699
children e1df51f68736
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1 " Vim compiler file
831
f24a95dae8ee updated for version 7.0d05
vimboss
parents: 557
diff changeset
2 " Language: Ruby
f24a95dae8ee updated for version 7.0d05
vimboss
parents: 557
diff changeset
3 " Function: Syntax check and/or error reporting
4869
a5352e73dc00 Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 2225
diff changeset
4 " Maintainer: Tim Pope <vimNOSPAM@tpope.org>
a5352e73dc00 Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 2225
diff changeset
5 " URL: https://github.com/vim-ruby/vim-ruby
831
f24a95dae8ee updated for version 7.0d05
vimboss
parents: 557
diff changeset
6 " Release Coordinator: Doug Kearns <dougkearns@gmail.com>
15512
f0f06837a699 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents: 4869
diff changeset
7 " Last Change: 2019 Jan 06
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
8
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
9 if exists("current_compiler")
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
10 finish
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
11 endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
12 let current_compiler = "ruby"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
13
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
14 if exists(":CompilerSet") != 2 " older Vim always used :setlocal
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
15 command -nargs=* CompilerSet setlocal <args>
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
16 endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
17
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
18 let s:cpo_save = &cpo
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
19 set cpo-=C
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
20
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
21 " default settings runs script normally
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
22 " add '-c' switch to run syntax check only:
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
23 "
15512
f0f06837a699 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents: 4869
diff changeset
24 " CompilerSet makeprg=ruby\ -c
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
25 "
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
26 " or add '-c' at :make command line:
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
27 "
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
28 " :make -c %<CR>
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
29 "
15512
f0f06837a699 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents: 4869
diff changeset
30 CompilerSet makeprg=ruby
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
31
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
32 CompilerSet errorformat=
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
33 \%+E%f:%l:\ parse\ error,
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
34 \%W%f:%l:\ warning:\ %m,
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
35 \%E%f:%l:in\ %*[^:]:\ %m,
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
36 \%E%f:%l:\ %m,
15512
f0f06837a699 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents: 4869
diff changeset
37 \%-C%\t%\\d%#:%#\ %#from\ %f:%l:in\ %.%#,
f0f06837a699 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents: 4869
diff changeset
38 \%-Z%\t%\\d%#:%#\ %#from\ %f:%l,
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
39 \%-Z%p^,
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
40 \%-G%.%#
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
41
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
42 let &cpo = s:cpo_save
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
43 unlet s:cpo_save
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
44
1620
73fe8baea242 updated for version 7.2a
vimboss
parents: 831
diff changeset
45 " vim: nowrap sw=2 sts=2 ts=8: