File tree 1 file changed +7
-1
lines changed
1 file changed +7
-1
lines changed Original file line number Diff line number Diff line change @@ -1657,7 +1657,13 @@ How do I use vim-go with syntastic?~
1657
1657
Sometimes when using both `vim - go ` and `syntastic` Vim will start lagging
1658
1658
while saving and opening files. The following fixes this:
1659
1659
>
1660
- let g:syntastic_go_checkers = ['golint', 'govet', 'errcheck']
1660
+ let g:syntastic_go_checkers = ['golint', 'govet']
1661
+ let g:syntastic_mode_map = { 'mode': 'active', 'passive_filetypes': ['go'] }
1662
+ <
1663
+ If you want to add errcheck you can use gometalinter as a wrapper
1664
+ >
1665
+ let g:syntastic_go_checkers = ['golint', 'govet', 'gometalinter']
1666
+ let g:syntastic_go_gometalinter_args = ['--disable-all', '--enable=errcheck']
1661
1667
let g:syntastic_mode_map = { 'mode': 'active', 'passive_filetypes': ['go'] }
1662
1668
<
1663
1669
Another issue with `vim - go ` and `syntastic` is that the location list window
You can’t perform that action at this time.
0 commit comments