Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to suppress warnings in vim-latex?

Tags:

vim

latex

I want to hide a couple of problematic warnings in vim-latex, but I can't seem to work out the syntax.

I currently have:

let g:tex_IgnoredWarnings = 
    \'Underfull'."\n".
    \'Overfull'."\n".
    \'specifier changed to'."\n".
    \'You have requested'."\n".
    \'Missing number, treated as zero.'."\n".
    \'There were undefined references'."\n".
    \'Citation %.%# undefined'."\n".
    \'Double space found.'."\n"
let g:Tex_IgnoreLevel = 8

To me, that looks correct per the documentation, but the "Double Space Found" warning still appears (to clarify, by 'still appears' I mean that it's highlighted on the left of the screen with S>).

Any ideas?

like image 631
sapi Avatar asked May 14 '13 00:05

sapi


1 Answers

The property you're setting should start with an uppercase letter (g:Tex_IgnoredWarnings as opposed to g:tex_IgnoredWarnings. The way you have it now, vim-latex is using the default value for g:Tex_IgnoredWarnings and not your desired overrides.

like image 169
Will Avatar answered Sep 28 '22 23:09

Will