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