From 430a442e3da37aae09fdc73fe1ff55c37d85e3f1 Mon Sep 17 00:00:00 2001 From: Harrison Shoebridge Date: Tue, 20 Oct 2015 14:56:37 +1100 Subject: [PATCH] Add note on Syntastic lag to README --- README.md | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/README.md b/README.md index 0d56749365..8baef4438b 100644 --- a/README.md +++ b/README.md @@ -199,6 +199,14 @@ let g:go_bin_path = expand("~/.gotools") let g:go_bin_path = "/home/fatih/.mypath" "or give absolute path ``` +## Using with Syntastic +Sometimes when using both `vim-go` and `syntastic` Vim will start lagging while saving and opening +files. The following fixes this: + +```vim +let g:syntastic_go_checkers = ['golint', 'govet', 'errcheck'] +let g:syntastic_mode_map = { 'mode': 'active', 'passive_filetypes': ['go'] } +``` ## More info