Mercurial > vim
view runtime/compiler/onsgmls.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 | 3fc0f57ecb91 |
children | 2704c4e3e20a |
line wrap: on
line source
" Vim compiler file " Compiler: onsgmls " Maintainer: Robert Rowsome <rowsome@wam.umd.edu> " Last Change: 2004 Mar 27 if exists("current_compiler") finish endif let current_compiler = "onsgmls" 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=onsgmls\ -s\ % CompilerSet errorformat=onsgmls:%f:%l:%c:%t:%m, \onsgmls:%f:%l:%c:%m let &cpo = s:cpo_save unlet s:cpo_save