Vim-go: Disable error check on save?

Created on 5 Jul 2015  路  3Comments  路  Source: fatih/vim-go

When I save a buffer, some sort of error checking process automatically runs and freezes my window for a few seconds. How do you disable that?

Most helpful comment

fwiw, for anyone that comes here thinking this is caused by vim-go, like fatih pointed out it's likely caused by syntastic, the fix for that is :SyntasticToggleMode

All 3 comments

Please don't use https://github.com/scrooloose/syntastic. Vim-go doesn't do any checking, it only outputs gofmt error if there is any. To disable them:

let g:go_fmt_fail_silently = 1

Thanks

fwiw, for anyone that comes here thinking this is caused by vim-go, like fatih pointed out it's likely caused by syntastic, the fix for that is :SyntasticToggleMode

:SyntasticToggleMode - this saves me.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

zhangjing picture zhangjing  路  3Comments

korjavin picture korjavin  路  4Comments

svanharmelen picture svanharmelen  路  3Comments

cassiobotaro picture cassiobotaro  路  3Comments

dchaofei picture dchaofei  路  4Comments