Mercurial > vim
view runtime/compiler/bdf.vim @ 10904:c68775848f5f v8.0.0341
patch 8.0.0341: undo does not work properly when using completion
commit https://github.com/vim/vim/commit/d56a79d3396cf70861b7f739a3c400db91ce7b70
Author: Bram Moolenaar <Bram@vim.org>
Date: Sun Feb 19 15:26:18 2017 +0100
patch 8.0.0341: undo does not work properly when using completion
Problem: When using complete() and typing a character undo is saved after
the character was inserted. (Shougo)
Solution: Save for undo before inserting the character.
author | Christian Brabandt <cb@256bit.org> |
---|---|
date | Sun, 19 Feb 2017 15:30:04 +0100 |
parents | 1f3b1021f002 |
children | 1218c5353e2b |
line wrap: on
line source
" Vim compiler file " Compiler: BDF to PCF Conversion " Maintainer: Nikolai Weibull <now@bitwi.se> " Latest Revision: 2006-04-19 if exists("current_compiler") finish endif let current_compiler = "bdf" let s:cpo_save = &cpo set cpo-=C setlocal makeprg=bdftopcf\ $* setlocal errorformat=%ABDF\ %trror\ on\ line\ %l:\ %m, \%-Z%p^, \%Cbdftopcf:\ bdf\ input\\,\ %f\\,\ corrupt, \%-G%.%# let &cpo = s:cpo_save unlet s:cpo_save