2013-05-14 86 views
7

我想在vim-latex中隱藏一些有問題的警告,但我似乎無法確定語法。如何禁止vim-latex中的警告?

我目前有:

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 

對我來說,這看起來每the documentation正確的,但警告仍出現「找到雙空間」(澄清,由「仍然顯示」我的意思是,它的突出的屏幕左側S>)。

任何想法?

+0

我注意大部分這些警告不會結束時間段,如果你改變'\'找到雙倍空間,它是否工作'。'「\ n」'到'\'找到雙倍空間'。「\ n」'? – 2013-05-20 09:44:47

回答

6

你設置應以大寫字母(g:Tex_IgnoredWarnings而不是g:tex_IgnoredWarnings。你現在的方式開始的屬性,VIM-乳膠使用g:Tex_IgnoredWarnings而不是你想要的覆蓋默認值。