robin/laufey

git clone https://git.robinwobin.dev/robin/laufey

zeertzjqvim-patch:5ed3723: runtime(ruby): Update for Vim 9.2 release (#37806)c3defb4b45

master
735 B35 linesraw
1" Vim compiler file
2" Language:		eRuby
3" Maintainer:		Doug Kearns <dougkearns@gmail.com>
4" URL:			https://github.com/vim-ruby/vim-ruby
5" Last Change:		2024 Apr 03
6
7if exists("current_compiler")
8  finish
9endif
10let current_compiler = "eruby"
11
12let s:cpo_save = &cpo
13set cpo-=C
14
15if exists("eruby_compiler") && eruby_compiler == "eruby"
16  CompilerSet makeprg=eruby
17else
18  CompilerSet makeprg=erb
19endif
20
21CompilerSet errorformat=
22    \eruby:\ %f:%l:%m,
23    \%+E%f:%l:\ parse\ error,
24    \%W%f:%l:\ warning:\ %m,
25    \%E%f:%l:in\ %*[^:]:\ %m,
26    \%E%f:%l:\ %m,
27    \%-C%\t%\\d%#:%#\ %#from\ %f:%l:in\ %.%#,
28    \%-Z%\t%\\d%#:%#\ %#from\ %f:%l,
29    \%-Z%p^,
30    \%-G%.%#
31
32let &cpo = s:cpo_save
33unlet s:cpo_save
34
35" vim: nowrap sw=2 sts=2 ts=8: