Mercurial > vim
annotate runtime/compiler/xmlwf.vim @ 13870:08370aad873d v8.0.1806
patch 8.0.1806: InsertCharPre causes problems for autocomplete
commit https://github.com/vim/vim/commit/39de95257714b76ccd845d081cff57830a79b488
Author: Bram Moolenaar <Bram@vim.org>
Date: Tue May 8 22:48:00 2018 +0200
patch 8.0.1806: InsertCharPre causes problems for autocomplete
Problem: InsertCharPre causes problems for autocomplete. (Lifepillar)
Solution: Check for InsertCharPre before calling vpeekc(). (Christian
Brabandt, closes #2876)
author | Christian Brabandt <cb@256bit.org> |
---|---|
date | Tue, 08 May 2018 23:00:07 +0200 |
parents | 3fc0f57ecb91 |
children | 2704c4e3e20a |
rev | line source |
---|---|
7 | 1 " Vim Compiler File |
2 " Compiler: xmlwf | |
3 " Maintainer: Robert Rowsome <rowsome@wam.umd.edu> | |
4 " Last Change: 2004 Mar 27 | |
5 | |
6 if exists("current_compiler") | |
7 finish | |
8 endif | |
9 let current_compiler = "xmlwf" | |
10 | |
11 let s:cpo_save = &cpo | |
12 set cpo&vim | |
13 | |
14 if exists(":CompilerSet") != 2 " older Vim always used :setlocal | |
15 command -nargs=* CompilerSet setlocal <args> | |
16 endif | |
17 | |
18 CompilerSet makeprg=xmlwf\ % | |
19 | |
20 CompilerSet errorformat=%f:%l%c:%m | |
21 | |
22 let &cpo = s:cpo_save | |
23 unlet s:cpo_save |