blob: 7e08cdddaa4c7c72638f0b870e585d2929ef9f93 [file] [log] [blame]
Bram Moolenaar071d4272004-06-13 20:20:40 +00001" Vim compiler file
Bram Moolenaar214641f2017-03-05 17:04:09 +01002" Compiler: BDF to PCF Conversion
3" Previous Maintainer: Nikolai Weibull <now@bitwi.se>
Enno18d730d2024-03-31 18:37:05 +02004" Contributors: Enno Nagel
5" Last Change: 2024 Mar 29
Bram Moolenaar071d4272004-06-13 20:20:40 +00006
7if exists("current_compiler")
8 finish
9endif
10let current_compiler = "bdf"
11
Bram Moolenaar071d4272004-06-13 20:20:40 +000012let s:cpo_save = &cpo
13set cpo-=C
14
Enno18d730d2024-03-31 18:37:05 +020015if exists(":CompilerSet") != 2 " Older Vim always used :setlocal
16 command -nargs=* CompilerSet setlocal <args>
17endif
Bram Moolenaar071d4272004-06-13 20:20:40 +000018
Enno18d730d2024-03-31 18:37:05 +020019CompilerSet makeprg=bdftopcf\ $*
20CompilerSet errorformat=%ABDF\ %trror\ on\ line\ %l:\ %m,
Bram Moolenaar071d4272004-06-13 20:20:40 +000021 \%-Z%p^,
22 \%Cbdftopcf:\ bdf\ input\\,\ %f\\,\ corrupt,
23 \%-G%.%#
24
25let &cpo = s:cpo_save
26unlet s:cpo_save