1
0
Fork 0
mirror of https://github.com/vim/vim synced 2025-03-21 17:25:11 +01:00
vim/runtime/compiler/eruby.vim

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

37 lines
793 B
VimL
Raw Normal View History

2005-09-16 21:55:43 +00:00
" Vim compiler file
2006-04-15 20:25:09 +00:00
" Language: eRuby
" Maintainer: Doug Kearns <dougkearns@gmail.com>
2013-06-12 21:29:15 +02:00
" URL: https://github.com/vim-ruby/vim-ruby
2006-04-15 20:25:09 +00:00
" Release Coordinator: Doug Kearns <dougkearns@gmail.com>
" Last Change: 2024 Apr 03
2005-09-16 21:55:43 +00:00
if exists("current_compiler")
finish
endif
let current_compiler = "eruby"
let s:cpo_save = &cpo
set cpo-=C
2005-09-25 22:16:38 +00:00
if exists("eruby_compiler") && eruby_compiler == "eruby"
CompilerSet makeprg=eruby
else
CompilerSet makeprg=erb
endif
2005-09-16 21:55:43 +00:00
2005-09-25 22:16:38 +00:00
CompilerSet errorformat=
\eruby:\ %f:%l:%m,
\%+E%f:%l:\ parse\ error,
\%W%f:%l:\ warning:\ %m,
\%E%f:%l:in\ %*[^:]:\ %m,
\%E%f:%l:\ %m,
2019-01-17 16:07:22 +01:00
\%-C%\t%\\d%#:%#\ %#from\ %f:%l:in\ %.%#,
\%-Z%\t%\\d%#:%#\ %#from\ %f:%l,
2005-09-25 22:16:38 +00:00
\%-Z%p^,
\%-G%.%#
2005-09-16 21:55:43 +00:00
let &cpo = s:cpo_save
unlet s:cpo_save
2008-07-13 17:41:49 +00:00
" vim: nowrap sw=2 sts=2 ts=8: