LaTeX-Box-Team / LaTeX-Box

Lightweight Toolbox for LaTeX - New Official repository
http://www.vim.org/scripts/script.php?script_id=3109
GNU General Public License v3.0
396 stars 66 forks source link

Improve formatting of multiple authors in bib completion #184

Closed petobens closed 10 years ago

petobens commented 10 years ago

This fixes #149: when there are three or more authors the bib completion window will display " 'surname of the first author' et al." Please review the pull request because i) I think I've mixed spaces and tabs when indenting and ii) I'm not quite sure about the regex I used to get the first author before the comma.
Thanks!

lervag commented 10 years ago

I implemented a variant of your idea that seems to work well. Let me know if there are problems!

petobens commented 10 years ago

Thank you! It works great.

lervag commented 10 years ago

No problem!