diff options
Diffstat (limited to 'syntax/rst.vim')
-rw-r--r-- | syntax/rst.vim | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/syntax/rst.vim b/syntax/rst.vim index 7d88963a..89f46e64 100644 --- a/syntax/rst.vim +++ b/syntax/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 + " Vim syntax file " Language: reStructuredText documentation format " Maintainer: Marshall Ward <marshall.ward@gmail.com> @@ -278,5 +280,3 @@ let b:current_syntax = "rst" let &cpo = s:cpo_save unlet s:cpo_save - -endif |