gerw / vim-latex-suite

71 stars 16 forks source link

broken refs #12

Closed crvs closed 9 years ago

crvs commented 10 years ago

one of the last commits seems to have broken the cross-referrencing system, now when one presses within a \ref{}, vim throws an error before showing the list of labels, if one then chooses a label, nothing happens (i thought this might be goyo's fault, but when I reverted to the commit from Apr 29th, everything worked flawlessly)

the error is as follows Error detected while processing function Tex_Complete..Tex_StartOutlineCompletion: line 50: E121: Undefined variable: l:origdir E15: Invalid expression: 'nnoremap ' .':cd '.l:origdir.'' .':call Tex_FinishOutlineCompletion()' line 53: E121: Undefined variable: l:origdir E15: Invalid expression: 'nnoremap q ' .':cd '.l:origdir.'' .':close' .':call Tex_SwitchToInsertMode()'

it seems to have to do with the last pull request.

best, crvs

gerw commented 9 years ago

Thank you, should be fixed now.