SOLVED Re: [Vim-latex-devel] Turn off goto error?
Brought to you by:
srinathava,
tmaas
From: Preben R. <ra...@pv...> - 2003-09-25 09:14:57
|
Preben Randhol <ra...@pv...> wrote on 24/09/2003 (12:51) : I found the place where the GotoError was called. It was in fucntion: function! Tex_SetupErrorWindow() I change the end of the function from: »··»··" resize the window to just fit in with the number of lines. »··»··exec ( line('$') < 4 ? line('$') : 4 ).' wincmd _' »··»··call GotoErrorLocation(mfnlog) »··endif to »··»··" resize the window to just fit in with the number of lines. »··»··exec ( line('$') < 4 ? line('$') : 4 ).' wincmd _' if exists('g:Tex_GotoError') && g:Tex_GotoError == 1 »··»·· call GotoErrorLocation(mfnlog) else wincmd k endif »··endif and the I set g:Tex_GotoError in texrc as mi...@wp... suggested. Thanks for help by the way. Could one do something like this for latex-suite as a default? I mean one can have Tex_GotoError = 1 as default, but that one can turn it off if one want to? Thanks in advance. Preben |