This is an included file which needs ``:set ft=tex'' for LatexSuite to be loaded.

This is the line where the warning is situated: \ref{badref}. 

This is a line without warning, where I stay if I compile with Tex\_GotoError $=$ 0.
