view runtime/compiler/eruby.vim @ 30727:645722244c3f v9.0.0698

patch 9.0.0698: VisVim is outdated, does not work with current Visual Studio Commit: https://github.com/vim/vim/commit/251c1e2ed810d532f7c7d7eb5d6ed5e28a12e501 Author: Martin Tournoij <martin@arp242.net> Date: Sat Oct 8 17:15:28 2022 +0100 patch 9.0.0698: VisVim is outdated, does not work with current Visual Studio Problem: VisVim is outdated, does not work with current Visual Studio. Solution: Remove VisVim. (Martin Tournoij)
author Bram Moolenaar <Bram@vim.org>
date Sat, 08 Oct 2022 18:30:03 +0200
parents f0f06837a699
children e1df51f68736
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:		2018 Jan 25

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

if exists(":CompilerSet") != 2		" older Vim always used :setlocal
  command -nargs=* CompilerSet setlocal <args>
endif

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: