vim

Fork of vim, an acceptable text editor
git clone git://git.laack.co/vim.git
Log | Files | Refs | README | LICENSE

fbc.vim (516B)


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