The question can be found here: http://stackoverflow.com/questions/22160094/vim-go-syntastic-main-redeclared .
Sometimes we want to suppress the message like "main redeclared in the block previous declaration at xxx.go" for some situations(like the go files just used for presentation or files document). Can we have a feature to suppress this warning like putting "// IGNORE MAIN" in the source file or something.
You can use g:syntastic_quiet_messages to suppress any messages you don't want to see. See :help 'syntastic_quiet_messages' from Vim for details.
Thanks. This is what I need.
Most helpful comment
You can use
g:syntastic_quiet_messagesto suppress any messages you don't want to see. See:help 'syntastic_quiet_messages'from Vim for details.