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