Re: [Vim-latex-devel] bug in \cite-completion of 1.5
Brought to you by:
srinathava,
tmaas
From: Lasse K. <las...@gm...> - 2003-12-17 00:43:07
|
* Srinath Avadhanula writes: > > On Wed, 17 Dec 2003, Lasse Kliemann wrote: > > > I found the completion for \cite not to work correctly in version > > 1.5 (in fact the first version I tried). It seemed like the prefix > > 'pre' as in \cite{pre<F9> was not honored and the insertion of the > > chosen bibtex-key did not work. > > > > I made a brute-force correction to these problems, resulting in a > > version of texviewer.vim that works ok for me now. A patch is > > attached. Please use with caution, since everything I know about > > scripting in vim is what I learned in about the last 60 minutes from > > trying to track down the errors encountered. > > I could reproduce the problem too. I made a different patch to solve > this problem. Its now in CVS. I made a release with this patch. Please > try out the latest developement version. (Don't worry, its as stable > as 1.5). The first problem is corrected by your changes, but the insertion of the completed word still did not work for me. I could fix it by a similar measure as before, patch is attached. It must be something with that regexp, and since I am no expert on these, I can only offer a likely temporary fix. -- Lasse Kliemann <http://plastictree.net> |