我想在
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>突出显示).
有任何想法吗?
您设置的属性应以大写字母开头(g:Tex_IgnoredWarnings而不是g:tex_IgnoredWarnings.现在的方式,vim-latex使用g:Tex_IgnoredWarnings的默认值,而不是您想要的覆盖.