Mercurial > vim
view runtime/compiler/xmllint.vim @ 12664:42cd1f315e8b v8.0.1210
patch 8.0.1210: CTRL-G and CTRL-T are ignored with typeahead
commit https://github.com/vim/vim/commit/f8e8c0643b1cd97db11912bc4f773e1328a0da02
Author: Bram Moolenaar <Bram@vim.org>
Date: Sun Oct 22 14:44:17 2017 +0200
patch 8.0.1210: CTRL-G and CTRL-T are ignored with typeahead
Problem: When typing a search pattern CTRL-G and CTRL-T are ignored when
there is typeahead.
Solution: Don't pass SEARCH_PEEK and don't call char_avail(). (haya14busa,
closes #2233)
author | Christian Brabandt <cb@256bit.org> |
---|---|
date | Sun, 22 Oct 2017 14:45:05 +0200 |
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