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