I had some reservations over this change (primarily because I wasn't sure what the grammar of BibTeX was), but I assume that your bibtex has no trouble playing with spaces before key names... so I guess vim-latex shouldn't either.
I've checked in your suggested fix (with a tip of the hat to you for suggesting it). --Ted On 07/19/2012 01:25 PM, Simon wrote: > I had the same probleme than here : > http://ubuntuforums.org/showthread.php?t=952911 > and as I don't wand to edit my .bib each time kbibtex save the file, I > change the ftplugin/latex-suite/bibtools.py file in order to allow space > before the key of the bib entry : > Line 32 : > m = re.match(r'\s*@(\w+){((\S+),)?(.*)}\s*', txt,re.MULTILINE | re.DOTALL) > I just add a \s* > m = re.match(r'\s*@(\w+){\s*((\S+),)?(.*)}\s*', txt, re.MULTILINE | re.DOTALL) > > Maybe it can be a good idea to add it into the repository, I spend long > time to find why I wasn't able to have this beautiful completion > working, and it's not so much change to do :) > > have a nice week! > > Simon > > ------------------------------------------------------------------------------ > Live Security Virtual Conference > Exclusive live event will cover all the ways today's security and > threat landscape has changed and how IT managers can respond. Discussions > will include endpoint security, mobile security and the latest in malware > threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ > _______________________________________________ > Vim-latex-devel mailing list > Vim-latex-devel@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/vim-latex-devel > -- Ted Pavlic <t...@tedpavlic.com> ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ _______________________________________________ Vim-latex-devel mailing list Vim-latex-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/vim-latex-devel