annotate runtime/compiler/fpc.vim @ 12624:ae2802b6bf7d
v8.0.1190
patch 8.0.1190: unusable after opening new window in BufWritePre event
commit https://github.com/vim/vim/commit/2c33d7bb69c4c2c5b0e39b03cc4b0c04cfdfbb0b
Author: Bram Moolenaar <Bram@vim.org>
Date: Sat Oct 14 16:06:20 2017 +0200
patch 8.0.1190: unusable after opening new window in BufWritePre event
Problem: Vim becomes unusable after opening new window in BufWritePre
event.
Solution: Call not_exiting(). (Martin Tournoij, closes #2205)
Also for "2q" when a help window is open. Add a test.
author |
Christian Brabandt <cb@256bit.org> |
date |
Sat, 14 Oct 2017 16:15:04 +0200 |
parents |
862863033fdd |
children |
11b656e74444 |
rev |
line source |
557
|
1 " Vim compiler file
|
|
2 " Compiler: FPC 2.1
|
|
3 " Maintainer: Jaroslaw Blasiok <jaro3000@o2.pl>
|
|
4 " Last Change: 2005 October 07
|
|
5
|
|
6 if exists("current_compiler")
|
|
7 finish
|
|
8 endif
|
|
9 let current_compiler = "fpc"
|
|
10
|
|
11 if exists(":CompilerSet") != 2 " older Vim always used :setlocal
|
|
12 command -nargs=* CompilerSet setlocal <args>
|
|
13 endif
|
|
14
|
|
15 " NOTE: compiler must be runned with -vb to write whole source path, not only file
|
|
16 " name.
|
|
17 CompilerSet errorformat=%f(%l\\,%c)\ %m
|