annotate runtime/compiler/fpc.vim @ 10761:721af7a9b4b4 v8.0.0270

patch 8.0.0270: may get ml_get error when :rubydo deletes lines commit https://github.com/vim/vim/commit/c593fee0e5e850f7e75be41f5d1751f28892a27f Author: Bram Moolenaar <Bram@vim.org> Date: Sun Jan 29 23:11:25 2017 +0100 patch 8.0.0270: may get ml_get error when :rubydo deletes lines Problem: May get ml_get error when :rubydo deletes lines or switches to another buffer. (Nikolai Pavlov, issue https://github.com/vim/vim/issues/1421) Solution: Check the buffer and line every time.
author Christian Brabandt <cb@256bit.org>
date Sun, 29 Jan 2017 23:15:50 +0100
parents 862863033fdd
children 11b656e74444
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
557
862863033fdd updated for version 7.0158
vimboss
parents:
diff changeset
1 " Vim compiler file
862863033fdd updated for version 7.0158
vimboss
parents:
diff changeset
2 " Compiler: FPC 2.1
862863033fdd updated for version 7.0158
vimboss
parents:
diff changeset
3 " Maintainer: Jaroslaw Blasiok <jaro3000@o2.pl>
862863033fdd updated for version 7.0158
vimboss
parents:
diff changeset
4 " Last Change: 2005 October 07
862863033fdd updated for version 7.0158
vimboss
parents:
diff changeset
5
862863033fdd updated for version 7.0158
vimboss
parents:
diff changeset
6 if exists("current_compiler")
862863033fdd updated for version 7.0158
vimboss
parents:
diff changeset
7 finish
862863033fdd updated for version 7.0158
vimboss
parents:
diff changeset
8 endif
862863033fdd updated for version 7.0158
vimboss
parents:
diff changeset
9 let current_compiler = "fpc"
862863033fdd updated for version 7.0158
vimboss
parents:
diff changeset
10
862863033fdd updated for version 7.0158
vimboss
parents:
diff changeset
11 if exists(":CompilerSet") != 2 " older Vim always used :setlocal
862863033fdd updated for version 7.0158
vimboss
parents:
diff changeset
12 command -nargs=* CompilerSet setlocal <args>
862863033fdd updated for version 7.0158
vimboss
parents:
diff changeset
13 endif
862863033fdd updated for version 7.0158
vimboss
parents:
diff changeset
14
862863033fdd updated for version 7.0158
vimboss
parents:
diff changeset
15 " NOTE: compiler must be runned with -vb to write whole source path, not only file
862863033fdd updated for version 7.0158
vimboss
parents:
diff changeset
16 " name.
862863033fdd updated for version 7.0158
vimboss
parents:
diff changeset
17 CompilerSet errorformat=%f(%l\\,%c)\ %m