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