view runtime/compiler/eruby.vim @ 35129:be122dc08867 default tip

The CODEOWNERS File is not useful Commit: https://github.com/vim/vim/commit/3ac83c7141dd60ae45c0346b7c0f4539587391aa Author: Christian Brabandt <cb@256bit.org> Date: Wed May 8 19:39:54 2024 +0200 The CODEOWNERS File is not useful Github is complaining about "This file has errors" and is just noisy and for that reason does not ping maintainers if a new issue/PR is created. Let's just rename it to MAINTAINERS file instead and update the documentation. Signed-off-by: Christian Brabandt <cb@256bit.org>
author Christian Brabandt <cb@256bit.org>
date Wed, 08 May 2024 19:45:03 +0200
parents e1df51f68736
children
line wrap: on
line source

" Vim compiler file
" Language:		eRuby
" Maintainer:		Doug Kearns <dougkearns@gmail.com>
" URL:			https://github.com/vim-ruby/vim-ruby
" Release Coordinator:	Doug Kearns <dougkearns@gmail.com>
" Last Change:		2024 Apr 03

if exists("current_compiler")
  finish
endif
let current_compiler = "eruby"

let s:cpo_save = &cpo
set cpo-=C

if exists("eruby_compiler") && eruby_compiler == "eruby"
  CompilerSet makeprg=eruby
else
  CompilerSet makeprg=erb
endif

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,
    \%-C%\t%\\d%#:%#\ %#from\ %f:%l:in\ %.%#,
    \%-Z%\t%\\d%#:%#\ %#from\ %f:%l,
    \%-Z%p^,
    \%-G%.%#

let &cpo = s:cpo_save
unlet s:cpo_save

" vim: nowrap sw=2 sts=2 ts=8: