summaryrefslogtreecommitdiff
path: root/runtime/compiler/fpc.vim
blob: de8e2fe3dc84a3e0b348384baceea9ced2a9b6b1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
" Vim compiler file
" Compiler:     FPC 2.1
" Maintainer:   Jaroslaw Blasiok <jaro3000@o2.pl>
" Last Change:  2005 October 07

if exists("current_compiler")
  finish
endif
let current_compiler = "fpc"

if exists(":CompilerSet") != 2		" older Vim always used :setlocal
  command -nargs=* CompilerSet setlocal <args>
endif

" NOTE: compiler must be run with -vb to write whole source path, not only file
" name.
CompilerSet errorformat=%f(%l\\,%c)\ %m