fbc.vim 516 B

123456789101112131415161718192021222324
  1. " Vim compiler file
  2. " Compiler: FreeBASIC Compiler
  3. " Maintainer: Doug Kearns <dougkearns@gmail.com>
  4. " Last Change: 2024 Apr 03
  5. if exists("current_compiler")
  6. finish
  7. endif
  8. let current_compiler = "fbc"
  9. let s:cpo_save = &cpo
  10. set cpo&vim
  11. CompilerSet makeprg=fbc
  12. CompilerSet errorformat=%-G%.%#Too\ many\ errors\\,\ exiting,
  13. \%f(%l)\ %tarning\ %n(%\\d%\\+):\ %m,
  14. \%E%f(%l)\ error\ %n:\ %m,
  15. \%-Z%p^,
  16. \%-C%.%#,
  17. \%-G%.%#
  18. let &cpo = s:cpo_save
  19. unlet s:cpo_save