Mercurial > vim
view runtime/compiler/xmllint.vim @ 13150:808625d4b71b v8.0.1449
patch 8.0.1449: slow redrawing with DirectX
commit https://github.com/vim/vim/commit/a338adcf222b6a24e26ea5ae6a2ad27f914acb38
Author: Bram Moolenaar <Bram@vim.org>
Date: Wed Jan 31 20:51:47 2018 +0100
patch 8.0.1449: slow redrawing with DirectX
Problem: Slow redrawing with DirectX.
Solution: Avoid calling gui_mch_flush() unnecessarily, especially when
updating the cursor. (Ken Takata, closes #2560)
author | Christian Brabandt <cb@256bit.org> |
---|---|
date | Wed, 31 Jan 2018 21:00:08 +0100 |
parents | f7add3891e95 |
children | d4c7b3e9cd17 |
line wrap: on
line source
" Vim compiler file " Compiler: xmllint " Maintainer: Doug Kearns <dougkearns@gmail.com> " Last Change: 2013 Jul 8 if exists("current_compiler") finish endif let current_compiler = "xmllint" 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=xmllint\ --valid\ --noout CompilerSet errorformat=%+E%f:%l:\ %.%#\ error\ :\ %m, \%+W%f:%l:\ %.%#\ warning\ :\ %m, \%-Z%p^, \%-G%.%# let &cpo = s:cpo_save unlet s:cpo_save