2014-07-10 21:05:51 -07:00
|
|
|
" Vim compiler file
|
2017-11-05 21:05:54 -07:00
|
|
|
" Compiler: BDF to PCF Conversion
|
|
|
|
" Previous Maintainer: Nikolai Weibull <now@bitwi.se>
|
2024-03-31 09:38:55 -07:00
|
|
|
" Contributors: Enno Nagel
|
|
|
|
" Last Change: 2024 Mar 29
|
2014-07-10 21:05:51 -07:00
|
|
|
|
|
|
|
if exists("current_compiler")
|
|
|
|
finish
|
|
|
|
endif
|
|
|
|
let current_compiler = "bdf"
|
|
|
|
|
|
|
|
let s:cpo_save = &cpo
|
|
|
|
set cpo-=C
|
|
|
|
|
2024-03-31 09:38:55 -07:00
|
|
|
if exists(":CompilerSet") != 2 " Older Vim always used :setlocal
|
|
|
|
command -nargs=* CompilerSet setlocal <args>
|
|
|
|
endif
|
2014-07-10 21:05:51 -07:00
|
|
|
|
2024-03-31 09:38:55 -07:00
|
|
|
CompilerSet makeprg=bdftopcf\ $*
|
|
|
|
CompilerSet errorformat=%ABDF\ %trror\ on\ line\ %l:\ %m,
|
2014-07-10 21:05:51 -07:00
|
|
|
\%-Z%p^,
|
|
|
|
\%Cbdftopcf:\ bdf\ input\\,\ %f\\,\ corrupt,
|
|
|
|
\%-G%.%#
|
|
|
|
|
|
|
|
let &cpo = s:cpo_save
|
|
|
|
unlet s:cpo_save
|