Syntastic: Golang: suppress "main redeclared ..."

Created on 5 Mar 2014  路  2Comments  路  Source: vim-syntastic/syntastic

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.

Most helpful comment

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.

All 2 comments

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.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

lemeb picture lemeb  路  6Comments

PROgram52bc picture PROgram52bc  路  6Comments

albasili picture albasili  路  6Comments

noprompt picture noprompt  路  5Comments

stevepond picture stevepond  路  5Comments