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, 1 insertions, 1 deletions
diff --git a/indent/rst.vim b/indent/rst.vim
index fb64e2bc..f27c5ecb 100644
--- a/indent/rst.vim
+++ b/indent/rst.vim
@@ -44,7 +44,7 @@ function GetRSTIndent()
let psnum = s:get_paragraph_start()
if psnum != 0
if getline(psnum) =~ s:note_pattern
- let ind = 3
+ let ind = max([3, ind])
endif
endif