annotate runtime/compiler/eruby.vim @ 30243:b57d52934160 v9.0.0457

patch 9.0.0457: substitute prompt does not highlight an empty match Commit: https://github.com/vim/vim/commit/a04f457a6c071179bac4088c9314007d39d5c5e0 Author: Bram Moolenaar <Bram@vim.org> Date: Tue Sep 13 13:45:26 2022 +0100 patch 9.0.0457: substitute prompt does not highlight an empty match Problem: Substitute prompt does not highlight an empty match. Solution: Highlight at least one character.
author Bram Moolenaar <Bram@vim.org>
date Tue, 13 Sep 2022 15:00:05 +0200
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: