summaryrefslogtreecommitdiffstats
path: root/syntax/godebugstacktrace.vim
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--syntax/godebugstacktrace.vim2
1 files changed, 1 insertions, 1 deletions
diff --git a/syntax/godebugstacktrace.vim b/syntax/godebugstacktrace.vim
index 0e25da3b..d0f8ef3f 100644
--- a/syntax/godebugstacktrace.vim
+++ b/syntax/godebugstacktrace.vim
@@ -1,4 +1,4 @@
-if !polyglot#util#IsEnabled('go', expand('<sfile>:p'))
+if !has_key(g:polyglot_is_disabled, 'go')
finish
endif