Mercurial > vim
annotate runtime/compiler/bdf.vim @ 16666:978bcd70883d v8.1.1335
patch 8.1.1335: listener callback is called after inserting text
commit https://github.com/vim/vim/commit/dda4144d39a9d685b8dda830978e7410bd372c40
Author: Bram Moolenaar <Bram@vim.org>
Date: Thu May 16 22:11:47 2019 +0200
patch 8.1.1335: listener callback is called after inserting text
Problem: Listener callback is called after inserting text.
Solution: Flush the changes before inserting or deleting a line. Store
changes per buffer.
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Thu, 16 May 2019 22:15:06 +0200 |
parents | 1218c5353e2b |
children | 2c3f939d46bf |
rev | line source |
---|---|
7 | 1 " Vim compiler file |
11062 | 2 " Compiler: BDF to PCF Conversion |
3 " Previous Maintainer: Nikolai Weibull <now@bitwi.se> | |
4 " Latest Revision: 2006-04-19 | |
7 | 5 |
6 if exists("current_compiler") | |
7 finish | |
8 endif | |
9 let current_compiler = "bdf" | |
10 | |
11 let s:cpo_save = &cpo | |
12 set cpo-=C | |
13 | |
839 | 14 setlocal makeprg=bdftopcf\ $* |
7 | 15 |
839 | 16 setlocal errorformat=%ABDF\ %trror\ on\ line\ %l:\ %m, |
7 | 17 \%-Z%p^, |
18 \%Cbdftopcf:\ bdf\ input\\,\ %f\\,\ corrupt, | |
19 \%-G%.%# | |
20 | |
21 let &cpo = s:cpo_save | |
22 unlet s:cpo_save |