diff options
Diffstat (limited to 'syntax/vimgo.vim')
-rw-r--r-- | syntax/vimgo.vim | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/syntax/vimgo.vim b/syntax/vimgo.vim index 811cd683..38040319 100644 --- a/syntax/vimgo.vim +++ b/syntax/vimgo.vim @@ -1,5 +1,7 @@ -if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'go') == -1 - +if exists('g:polyglot_disabled') && index(g:polyglot_disabled, 'go') != -1 + finish +endif + if exists("b:current_syntax") finish endif @@ -13,5 +15,3 @@ hi def link goInterface Type hi def link goTitle Label " vim: sw=2 ts=2 et - -endif |