vim-pandoc / vim-pandoc-legacy

[UNSUPPORTED/use vim-pandoc/vim-pandoc] vim bundle for pandoc users
143 stars 23 forks source link

Make kpsewhich dependency optional #36

Closed codito closed 12 years ago

codito commented 13 years ago

Currently without kpsewhich utility, vim-pandoc throws an error in pandoc#Pandoc_Find_Bibfile() while creating a new pandoc file. Is it possible to make this dependency optional by just silently failing without throwing error (or with a config variable)?

fmoralesc commented 12 years ago

The code will run only if kpsewhich is installed, and will be silent if it isn't.