summaryrefslogtreecommitdiffstats
path: root/syntax/godoc.vim
diff options
context:
space:
mode:
Diffstat (limited to 'syntax/godoc.vim')
-rw-r--r--syntax/godoc.vim4
1 files changed, 4 insertions, 0 deletions
diff --git a/syntax/godoc.vim b/syntax/godoc.vim
index 0fba2080..7fdd8337 100644
--- a/syntax/godoc.vim
+++ b/syntax/godoc.vim
@@ -1,3 +1,5 @@
+if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'go') == -1
+
" Copyright 2011 The Go Authors. All rights reserved.
" Use of this source code is governed by a BSD-style
" license that can be found in the LICENSE file.
@@ -45,3 +47,5 @@ syn sync minlines=500
let b:current_syntax = "godoc"
" vim:ts=4 sts=2 sw=2:
+
+endif