Mercurial > vim
view runtime/compiler/rubyunit.vim @ 13206:53f0c469dfc6 v8.0.1477
patch 8.0.1477: redraw flicker when moving the mouse outside of terminal window
commit https://github.com/vim/vim/commit/d317b38a4dbcdbd4cf587cf78cc1f4289374214e
Author: Bram Moolenaar <Bram@vim.org>
Date: Thu Feb 8 22:33:31 2018 +0100
patch 8.0.1477: redraw flicker when moving the mouse outside of terminal window
Problem: Redraw flicker when moving the mouse outside of terminal window.
Solution: Instead of updating the cursor color and shape every time leaving
and entering a terminal window, only update when different from
the previously used cursor.
author | Christian Brabandt <cb@256bit.org> |
---|---|
date | Thu, 08 Feb 2018 22:45:05 +0100 |
parents | 43efa4f5a8ea |
children | f0f06837a699 |
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> 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: