I am using gVim on Windows, and when I enter insert mode for the first time on a fresh document I am hit with a deprecation warning from Python regarding the imp package.
This is quite jarring and I would like to suppress this message in the future. I believe what this post is doing is suppressing all error output however since I am using Vim to edit LaTeX I want to still be able to see errors pop up -- just not these ones regarding Python deprecation.
imp
is being imported?grep -r
to find a string such asimport imp
in your~/.vim/UltiSnips
or equivalent? Do you have plug-ins which ship snippets that might have that specific import that is triggering the deprecation warning? If you can post more about your local config, it would be easier to try to figure it out...