" Vim compiler file " Compiler: ConTeXt typesetting engine " Maintainer: Nicola Vitacolonna <nvitacolonna@gmail.com> " Last Change: 2016 Oct 21 if exists("current_compiler") finish endif let s:keepcpo= &cpo set cpo&vim if exists(":CompilerSet") != 2 " older Vim always used :setlocal command -nargs=* CompilerSet setlocal <args> endif " If makefile exists and we are not asked to ignore it, we use standard make " (do not redefine makeprg) if get(b:, 'context_ignore_makefile', get(g:, 'context_ignore_makefile', 0)) || \ (!filereadable('Makefile') && !filereadable('makefile')) let current_compiler = 'context' " The following assumes that the current working directory is set to the " directory of the file to be typeset let &l:makeprg = get(b:, 'context_mtxrun', get(g:, 'context_mtxrun', 'mtxrun')) \ . ' --script context --autogenerate --nonstopmode --synctex=' \ . (get(b:, 'context_synctex', get(g:, 'context_synctex', 0)) ? '1' : '0') \ . ' ' . get(b:, 'context_extra_options', get(g:, 'context_extra_options', '')) \ . ' ' . shellescape(expand('%:p:t')) else let current_compiler = 'make' endif let b:context_errorformat = '' \ . '%-Popen source%.%#> %f,' \ . '%-Qclose source%.%#> %f,' \ . "%-Popen source%.%#name '%f'," \ . "%-Qclose source%.%#name '%f'," \ . '%Etex %trror%.%#mp error on line %l in file %f:%.%#,' \ . 'tex %trror%.%#error on line %l in file %f: %m,' \ . '%Elua %trror%.%#error on line %l in file %f:,' \ . '%+Emetapost %#> error: %#,' \ . '! error: %#%m,' \ . '%-C %#,' \ . '%C! %m,' \ . '%Z[ctxlua]%m,' \ . '%+C<*> %.%#,' \ . '%-C%.%#,' \ . '%Z...%m,' \ . '%-Zno-error,' \ . '%-G%.%#' " Skip remaining lines execute 'CompilerSet errorformat=' . escape(b:context_errorformat, ' ') let &cpo = s:keepcpo unlet s:keepcpo
Name | Type | Size | Permission | Actions |
---|---|---|---|---|
README.txt | File | 437 B | 0644 |
|
ant.vim | File | 941 B | 0644 |
|
bcc.vim | File | 449 B | 0644 |
|
bdf.vim | File | 473 B | 0644 |
|
cargo.vim | File | 885 B | 0644 |
|
checkstyle.vim | File | 588 B | 0644 |
|
context.vim | File | 1.87 KB | 0644 |
|
cs.vim | File | 626 B | 0644 |
|
csslint.vim | File | 542 B | 0644 |
|
cucumber.vim | File | 561 B | 0644 |
|
decada.vim | File | 1.9 KB | 0644 |
|
dot.vim | File | 372 B | 0644 |
|
erlang.vim | File | 273 B | 0644 |
|
eruby.vim | File | 859 B | 0644 |
|
fortran_F.vim | File | 702 B | 0644 |
|
fortran_cv.vim | File | 747 B | 0644 |
|
fortran_elf90.vim | File | 802 B | 0644 |
|
fortran_g77.vim | File | 1.12 KB | 0644 |
|
fortran_lf95.vim | File | 683 B | 0644 |
|
fpc.vim | File | 453 B | 0644 |
|
g95.vim | File | 677 B | 0644 |
|
gcc.vim | File | 1.2 KB | 0644 |
|
gfortran.vim | File | 671 B | 0644 |
|
ghc.vim | File | 541 B | 0644 |
|
gnat.vim | File | 2.36 KB | 0644 |
|
go.vim | File | 526 B | 0644 |
|
haml.vim | File | 551 B | 0644 |
|
hp_acc.vim | File | 1.03 KB | 0644 |
|
icc.vim | File | 585 B | 0644 |
|
ifort.vim | File | 690 B | 0644 |
|
intel.vim | File | 595 B | 0644 |
|
irix5_c.vim | File | 662 B | 0644 |
|
irix5_cpp.vim | File | 671 B | 0644 |
|
javac.vim | File | 399 B | 0644 |
|
jikes.vim | File | 520 B | 0644 |
|
mcs.vim | File | 864 B | 0644 |
|
mips_c.vim | File | 691 B | 0644 |
|
mipspro_c89.vim | File | 721 B | 0644 |
|
mipspro_cpp.vim | File | 701 B | 0644 |
|
modelsim_vcom.vim | File | 799 B | 0644 |
|
msbuild.vim | File | 529 B | 0644 |
|
msvc.vim | File | 293 B | 0644 |
|
neato.vim | File | 378 B | 0644 |
|
ocaml.vim | File | 1.3 KB | 0644 |
|
onsgmls.vim | File | 503 B | 0644 |
|
pbx.vim | File | 469 B | 0644 |
|
perl.vim | File | 1.18 KB | 0644 |
|
php.vim | File | 707 B | 0644 |
|
pylint.vim | File | 546 B | 0644 |
|
pyunit.vim | File | 407 B | 0644 |
|
rake.vim | File | 912 B | 0644 |
|
rspec.vim | File | 753 B | 0644 |
|
rst.vim | File | 846 B | 0644 |
|
ruby.vim | File | 1.03 KB | 0644 |
|
rubyunit.vim | File | 798 B | 0644 |
|
rustc.vim | File | 1.04 KB | 0644 |
|
sass.vim | File | 590 B | 0644 |
|
se.vim | File | 742 B | 0644 |
|
splint.vim | File | 2.22 KB | 0644 |
|
tcl.vim | File | 414 B | 0644 |
|
tex.vim | File | 1.71 KB | 0644 |
|
tidy.vim | File | 568 B | 0644 |
|
xbuild.vim | File | 509 B | 0644 |
|
xmllint.vim | File | 561 B | 0644 |
|
xmlwf.vim | File | 454 B | 0644 |
|