Re: [Vim-latex-devel] BibTeX completion gets confused by commented out \bibliography

2010-02-01 Thread Jan Larres
Till Maas : > On Sun, Jan 31, 2010 at 07:03:05AM +, Jan Larres wrote: >> I recently found another small bug with the BibTeX completion. If there >> is a commented out \bibliography{} command before the actual one, >> latex-suite erroneously tries to use the commented out one. In my case >> this

[Vim-latex-devel] Problem with \ref completion if a blank appears in directory path

2010-02-01 Thread Simon Quittek
Hello Mailing List! Similar to the last posting about blanks in the directory this time, \ref does produce an error. If I am not mistaken this bug was accidentally introduced with one of the last changes. Use :messages to see the cause and please find a tarball holding a minimal working exampl

Re: [Vim-latex-devel] Problem with \ref completion if a blank appears in directory path

2010-02-01 Thread Till Maas
On Mon, Feb 01, 2010 at 01:34:12PM +0100, Simon Quittek wrote: > Similar to the last posting about blanks in the directory this time, > \ref does produce an error. > If I am not mistaken this bug was accidentally introduced with one > of the last changes. Yes, can you please test this patch? http

Re: [Vim-latex-devel] BibTeX completion gets confused by commented out \bibliography

2010-02-01 Thread Till Maas
On Mon, Feb 01, 2010 at 09:17:46AM +, Jan Larres wrote: > I don't know about the performance, but what about using synIDattr() for > that? It already does all the work to figure out what is a comment and > what isn't. Thanks, using the existing syntax knowledge sounds like a good idea. Regar

Re: [Vim-latex-devel] BibTeX completion gets confused by commented out \bibliography

2010-02-01 Thread Till Maas
On Sun, Jan 31, 2010 at 07:47:11PM -0500, Srinath Avadhanula wrote: > What about the following? I basically search for a pattern > > "not backslash" + (even number of backslashes) + % + rest > > Probably, removing \verb|| etc is not worth the trouble till users > face a problem... Thanks, these