annotate runtime/compiler/eruby.vim @ 26686:c04b28fad0cc v8.2.3872

patch 8.2.3872: Vim9: finddir() and uniq() return types can be more specific Commit: https://github.com/vim/vim/commit/080182216e605df3428cc699b9fd7e761368d12f Author: Bram Moolenaar <Bram@vim.org> Date: Wed Dec 22 18:45:37 2021 +0000 patch 8.2.3872: Vim9: finddir() and uniq() return types can be more specific Problem: Vim9: finddir() and uniq() return types can be more specific. Solution: Adjust the return type.
author Bram Moolenaar <Bram@vim.org>
date Wed, 22 Dec 2021 20:00:04 +0100
parents f0f06837a699
children e1df51f68736
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
530
339999b511a0 updated for version 7.0148
vimboss
parents:
diff changeset
1 " Vim compiler file
831
f24a95dae8ee updated for version 7.0d05
vimboss
parents: 557
diff changeset
2 " Language: eRuby
f24a95dae8ee 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
831
f24a95dae8ee updated for version 7.0d05
vimboss
parents: 557
diff changeset
5 " Release Coordinator: Doug Kearns <dougkearns@gmail.com>
15512
f0f06837a699 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents: 4869
diff changeset
6 " Last Change: 2018 Jan 25
530
339999b511a0 updated for version 7.0148
vimboss
parents:
diff changeset
7
339999b511a0 updated for version 7.0148
vimboss
parents:
diff changeset
8 if exists("current_compiler")
339999b511a0 updated for version 7.0148
vimboss
parents:
diff changeset
9 finish
339999b511a0 updated for version 7.0148
vimboss
parents:
diff changeset
10 endif
339999b511a0 updated for version 7.0148
vimboss
parents:
diff changeset
11 let current_compiler = "eruby"
339999b511a0 updated for version 7.0148
vimboss
parents:
diff changeset
12
339999b511a0 updated for version 7.0148
vimboss
parents:
diff changeset
13 if exists(":CompilerSet") != 2 " older Vim always used :setlocal
339999b511a0 updated for version 7.0148
vimboss
parents:
diff changeset
14 command -nargs=* CompilerSet setlocal <args>
339999b511a0 updated for version 7.0148
vimboss
parents:
diff changeset
15 endif
339999b511a0 updated for version 7.0148
vimboss
parents:
diff changeset
16
339999b511a0 updated for version 7.0148
vimboss
parents:
diff changeset
17 let s:cpo_save = &cpo
339999b511a0 updated for version 7.0148
vimboss
parents:
diff changeset
18 set cpo-=C
339999b511a0 updated for version 7.0148
vimboss
parents:
diff changeset
19
532
7052f11a3dc9 updated for version 7.0150
vimboss
parents: 530
diff changeset
20 if exists("eruby_compiler") && eruby_compiler == "eruby"
7052f11a3dc9 updated for version 7.0150
vimboss
parents: 530
diff changeset
21 CompilerSet makeprg=eruby
7052f11a3dc9 updated for version 7.0150
vimboss
parents: 530
diff changeset
22 else
7052f11a3dc9 updated for version 7.0150
vimboss
parents: 530
diff changeset
23 CompilerSet makeprg=erb
7052f11a3dc9 updated for version 7.0150
vimboss
parents: 530
diff changeset
24 endif
530
339999b511a0 updated for version 7.0148
vimboss
parents:
diff changeset
25
532
7052f11a3dc9 updated for version 7.0150
vimboss
parents: 530
diff changeset
26 CompilerSet errorformat=
7052f11a3dc9 updated for version 7.0150
vimboss
parents: 530
diff changeset
27 \eruby:\ %f:%l:%m,
7052f11a3dc9 updated for version 7.0150
vimboss
parents: 530
diff changeset
28 \%+E%f:%l:\ parse\ error,
7052f11a3dc9 updated for version 7.0150
vimboss
parents: 530
diff changeset
29 \%W%f:%l:\ warning:\ %m,
7052f11a3dc9 updated for version 7.0150
vimboss
parents: 530
diff changeset
30 \%E%f:%l:in\ %*[^:]:\ %m,
7052f11a3dc9 updated for version 7.0150
vimboss
parents: 530
diff changeset
31 \%E%f:%l:\ %m,
15512
f0f06837a699 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents: 4869
diff changeset
32 \%-C%\t%\\d%#:%#\ %#from\ %f:%l:in\ %.%#,
f0f06837a699 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents: 4869
diff changeset
33 \%-Z%\t%\\d%#:%#\ %#from\ %f:%l,
532
7052f11a3dc9 updated for version 7.0150
vimboss
parents: 530
diff changeset
34 \%-Z%p^,
7052f11a3dc9 updated for version 7.0150
vimboss
parents: 530
diff changeset
35 \%-G%.%#
530
339999b511a0 updated for version 7.0148
vimboss
parents:
diff changeset
36
339999b511a0 updated for version 7.0148
vimboss
parents:
diff changeset
37 let &cpo = s:cpo_save
339999b511a0 updated for version 7.0148
vimboss
parents:
diff changeset
38 unlet s:cpo_save
339999b511a0 updated for version 7.0148
vimboss
parents:
diff changeset
39
1668
0b796e045c42 updated for version 7.2b-000
vimboss
parents: 1621
diff changeset
40 " vim: nowrap sw=2 sts=2 ts=8: