summaryrefslogtreecommitdiffstats
path: root/runtime/ftplugin/rst.vim
diff options
context:
space:
mode:
Diffstat (limited to 'runtime/ftplugin/rst.vim')
-rw-r--r--runtime/ftplugin/rst.vim2
1 files changed, 1 insertions, 1 deletions
diff --git a/runtime/ftplugin/rst.vim b/runtime/ftplugin/rst.vim
index 8ab56b052a..f0646e9f36 100644
--- a/runtime/ftplugin/rst.vim
+++ b/runtime/ftplugin/rst.vim
@@ -30,7 +30,7 @@ setlocal formatoptions+=tcroql
"
" More sophisticated indentation rules should be revisted in the future.
-if !exists("g:rst_style") || g:rst_style != 0
+if exists("g:rst_style") && g:rst_style != 0
setlocal expandtab shiftwidth=3 softtabstop=3 tabstop=8
endif