Added a simple callback function that utilizes the clientserver in vim and the
$success_cmd and $failure_cmd in latexmk to call latex#latexmk#error() after
compilation. The feature is enabled by default, because it strikes me as
a very nice feature!
Note that this feature might require a minor update to existing .latexmkrc
files, in that existing $success_cmd and $failure_cmd should end in a semicolon
in order to allow vim-latex to append the callback. I hope I might remove this
restriction in a later update, but I didn't see how to do this now.
Removed the .sty extension, which caused some confusion for the root
detection routine. Not entirely sure what caused the issue, but gf to
.sty seems like a border-line enough case anyway.
Also, I've modified the bibsearch function to better work with larger
projects. It prepends the path of whichever file links to a bib file
to that bib file's path, allowing us to correctly complete citations
even if the bib file and current file are in two different directories
and the main file linking to the bibfile is in a different directory
to the current file.
This could possibly be modified to check for absolute paths in
\bibliography commands, but I don't believe anyone is using those?
Note: This patch was authored by Karl Moritz Hermann (see #8).