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