view runtime/compiler/rubyunit.vim @ 16387:12d57853ddb2 v8.1.1198

patch 8.1.1198: bracketed paste may remain active after Vim exists commit https://github.com/vim/vim/commit/958eabe5e53673fc39186432ff98b3656663beeb Author: Bram Moolenaar <Bram@vim.org> Date: Sun Apr 21 17:22:33 2019 +0200 patch 8.1.1198: bracketed paste may remain active after Vim exists Problem: Bracketed paste may remain active after Vim exists, because the terminal emulater restores the setting. Solution: Set/reset bracketed paste mode before setting the terminal mode. (closes #3579)
author Bram Moolenaar <Bram@vim.org>
date Sun, 21 Apr 2019 17:30:05 +0200
parents f0f06837a699
children e1df51f68736
line wrap: on
line source

" Vim compiler file
" Language:		Test::Unit - Ruby Unit Testing Framework
" Maintainer:		Doug Kearns <dougkearns@gmail.com>
" URL:			https://github.com/vim-ruby/vim-ruby
" Release Coordinator:	Doug Kearns <dougkearns@gmail.com>
" Last Change:		2014 Mar 23

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

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

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

CompilerSet makeprg=testrb
" CompilerSet makeprg=ruby\ -Itest
" CompilerSet makeprg=m

CompilerSet errorformat=\%W\ %\\+%\\d%\\+)\ Failure:,
			\%C%m\ [%f:%l]:,
			\%E\ %\\+%\\d%\\+)\ Error:,
			\%C%m:,
			\%C\ \ \ \ %f:%l:%.%#,
			\%C%m,
			\%Z\ %#,
			\%-G%.%#

let &cpo = s:cpo_save
unlet s:cpo_save

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