summaryrefslogtreecommitdiffstats
path: root/indent/rst.vim
diff options
context:
space:
mode:
Diffstat (limited to 'indent/rst.vim')
-rw-r--r--indent/rst.vim2
1 files changed, 2 insertions, 0 deletions
diff --git a/indent/rst.vim b/indent/rst.vim
index f27c5ecb..66920d83 100644
--- a/indent/rst.vim
+++ b/indent/rst.vim
@@ -18,6 +18,8 @@ setlocal indentexpr=GetRSTIndent()
setlocal indentkeys=!^F,o,O
setlocal nosmartindent
+let b:undo_indent = "setlocal indentexpr< indentkeys< smartindent<"
+
if exists("*GetRSTIndent")
finish
endif