[ Attached Message ]
|| Marcin Szamotulski <msza...@gmail.com> |
|| Bram Moolenaar <B...@Moolenaar.net> |
|| Sun, 28 Oct 2012 19:37:04 +0000 |
|| Sun, Oct 28 2012 3:37 pm
|| Re: A way to crash vim with setloclist() |
On 20:12 Sun 28 Oct , Bram Moolenaar wrote:
That's fine. I found a workaround for my case. I found this since my
filetype plugin (for latex files) was using lvimgrep on BufUnload event.
My script was nice enough to restore the user location list, and this
was producing the error. The work a round that I made is to read file
with readfile() and then make a loop over its lines, but I think this is
slower than using vimgrep.