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
|