Just started to look into VIM for my coding. I managed to set up some functionality with pathogen and want to make a slow start to learn VIM. the problem is that when I open a PHP document, I get swamped with the warning "Missing doc comment"

Of course for good practice these comments should be in the file, but when just playing around this is annoying. Is there a way to turn (toggle) this off?

Any other tips welcome, but I am just getting my feet wet in VIM

Edit: My current plugins:

auto-pairs , nerdtree , supertab , syntastic , vim-autoformat , vim-jsbeautify , vim-sensible

  • If you have Vim 8 then you don't need pathogen anymore. Read :h packages for more info. BTW. :help is the most useful command in Vim.
    – Matt
    Commented Sep 26, 2019 at 5:52
  • 3
    The message is probably shown by one of the plugins you installed. Check How do I debug my vimrc to find out which plugin is doing that and then check the doc of the plugin to see if you can disable this behavior.
    – statox
    Commented Sep 26, 2019 at 7:07
  • so what plugins have you installed? Commented Sep 26, 2019 at 8:02
  • 1
    @Daniel I will not write my comment as an answer because that basically means that your question is a duplicate of "How do I debug my vimrc". You can either follow Rich's suggestion to write an answer about which plugin caused a problem and how you can configure it to avoid that, or close your question as a duplicate
    – statox
    Commented Sep 26, 2019 at 14:29
  • 1
    @statox - fair enough. Will do so.
    – Daniel
    Commented Sep 26, 2019 at 15:30

1 Answer 1


Being a beginner of VIM it may be tempting to install plugin candy, but caution is in place.

With Pathogen, plugins get installed in ~/vim/bundle First thing I tried is to zip all the plugins and delete their originals. This quick dirty step already fixed the main issue. My first assumption was the Syntastic plugin.

Looking up this plugin and the toggle I was looking for, led me to this post.


Using :SyntasticToggleMode will do the trick, but do check out the post, which has some tips as well.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.