diff --git a/misc/vim/syntax/go.vim b/misc/vim/syntax/go.vim index a6b63591871..bef2a50c5ec 100644 --- a/misc/vim/syntax/go.vim +++ b/misc/vim/syntax/go.vim @@ -198,4 +198,6 @@ endif hi def link goExtraType Type hi def link goSpaceError Error +syn sync minlines=500 + let b:current_syntax = "go"