summaryrefslogtreecommitdiffstats
path: root/compiler/go.vim
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--compiler/go.vim4
1 files changed, 2 insertions, 2 deletions
diff --git a/compiler/go.vim b/compiler/go.vim
index 5c30dd2f..162fa7f6 100644
--- a/compiler/go.vim
+++ b/compiler/go.vim
@@ -6,10 +6,10 @@ if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'go') == -1
"
" compiler/go.vim: Vim compiler file for Go.
-if exists("current_compiler")
+if exists("g:current_compiler")
finish
endif
-let current_compiler = "go"
+let g:current_compiler = "go"
if exists(":CompilerSet") != 2
command -nargs=* CompilerSet setlocal <args>