annotate runtime/compiler/fpc.vim @ 20607:9f5f64cc9720
v8.2.0857
patch 8.2.0857: GTK cell height can be a pixel too much
Commit: https://github.com/vim/vim/commit/5cd1cb9ff9d04979ff4cbc36ca8416d83364505d
Author: Bram Moolenaar <Bram@vim.org>
Date: Sun May 31 13:53:04 2020 +0200
patch 8.2.0857: GTK cell height can be a pixel too much
Problem: GTK cell height can be a pixel too much.
Solution: Subtract 3 instead of 1 when rounding. (closes https://github.com/vim/vim/issues/6168)
author |
Bram Moolenaar <Bram@vim.org> |
date |
Sun, 31 May 2020 14:00:03 +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
|