summaryrefslogtreecommitdiffstats
path: root/compiler/go.vim
diff options
context:
space:
mode:
Diffstat (limited to 'compiler/go.vim')
-rw-r--r--compiler/go.vim2
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/go.vim b/compiler/go.vim
index 01c7fe0a..3333caee 100644
--- a/compiler/go.vim
+++ b/compiler/go.vim
@@ -1,4 +1,4 @@
-if has_key(g:polyglot_is_disabled, 'go')
+if polyglot#init#is_disabled(expand('<sfile>:p'), 'go', 'compiler/go.vim')
finish
endif