summaryrefslogtreecommitdiffstats
path: root/ftplugin/rst.vim
diff options
context:
space:
mode:
Diffstat (limited to 'ftplugin/rst.vim')
-rw-r--r--ftplugin/rst.vim6
1 files changed, 2 insertions, 4 deletions
diff --git a/ftplugin/rst.vim b/ftplugin/rst.vim
index 064bd88e..5fc87d21 100644
--- a/ftplugin/rst.vim
+++ b/ftplugin/rst.vim
@@ -1,7 +1,4 @@
-if exists('g:polyglot_disabled') && index(g:polyglot_disabled, 'rst') != -1
- finish
-endif
-
+if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'rst') == -1
" reStructuredText filetype plugin file
" Language: reStructuredText documentation format
" Maintainer: Marshall Ward <marshall.ward@gmail.com>
@@ -49,3 +46,4 @@ endif
let &cpo = s:cpo_save
unlet s:cpo_save
+endif