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