summaryrefslogtreecommitdiffstats
path: root/syntax/vimgo.vim
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--syntax/vimgo.vim2
1 files changed, 2 insertions, 0 deletions
diff --git a/syntax/vimgo.vim b/syntax/vimgo.vim
index b1a432fc..f33b5b1b 100644
--- a/syntax/vimgo.vim
+++ b/syntax/vimgo.vim
@@ -1,4 +1,5 @@
if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'go') == -1
+
if exists("b:current_syntax")
finish
endif
@@ -12,4 +13,5 @@ hi def link goInterface Type
hi def link goTitle Label
" vim: sw=2 ts=2 et
+
endif