fpc.vim 453 B

123456789101112131415161718
  1. " Vim compiler file
  2. " Compiler: FPC 2.1
  3. " Maintainer: Jaroslaw Blasiok <jaro3000@o2.pl>
  4. " Last Change: 2005 October 07
  5. if exists("current_compiler")
  6. finish
  7. endif
  8. let current_compiler = "fpc"
  9. if exists(":CompilerSet") != 2 " older Vim always used :setlocal
  10. command -nargs=* CompilerSet setlocal <args>
  11. endif
  12. " NOTE: compiler must be runned with -vb to write whole source path, not only file
  13. " name.
  14. CompilerSet errorformat=%f(%l\\,%c)\ %m