Hello mailing list!
I put the lines

let g:Tex_IgnoredWarnings.="\nhas changed"
let g:Tex_IgnoreLevel+=1

in the
$VIM/ftplugin/tex.vim
file to suppress some errors connected with certain files I am compiling.

When opening a *.tex file these lines result in error messages in vim:
"C2.4_Moessbauer.tex" 126L, 3472C
Error detected while processing ~/.vim/ftplugin/tex.vim:
line   17:
E121: Undefined variable: g:Tex_IgnoredWarnings
line   18:
E121: Undefined variable: g:Tex_IgnoreLevel

Do you know any way to avoid typing the commands each time when opening a 
*.tex file?

Thanks in advance!
Simon

------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
Vim-latex-devel mailing list
Vim-latex-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/vim-latex-devel

Reply via email to