Hello,
I've been using vim-latex for a while and was always annoyed by the
problem of spaces in .bib entries like :
@InProceedings{ key,
...
This was not handled properly and completly broke auto-completion.
I propose this tiny patch that solves the problem :
$ diff -u bibtools.old.py bibtools.py
--- bibtools.old.py 2008-11-19 15:33:22.000000000 +0100
+++ bibtools.py 2008-11-19 15:29:31.000000000 +0100
@@ -28,7 +28,7 @@
for k, v in macros.iteritems():
txt = txt.replace(k, '{'+v+'}')
- m = re.match(r'\s*@(\w+){((\S+),)?(.*)}\s*', txt, re.MULTILINE
| re.DOTALL)
+ m = re.match(r'\s*@(\w+){\s*((\S+),)?(.*)}\s*', txt,
re.MULTILINE | re.DOTALL)
if not m:
return None
$
Thanks for this great plugin :)
--
yabo
-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Vim-latex-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/vim-latex-devel