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