summaryrefslogtreecommitdiffstats
path: root/indent/rst.vim
diff options
context:
space:
mode:
authorAdam Stankiewicz <sheerun@sher.pl>2021-06-01 18:17:40 +0200
committerAdam Stankiewicz <sheerun@sher.pl>2021-06-01 18:17:40 +0200
commitaf0eaee01737d26314c9c3618153e99d1eb3e2f1 (patch)
treee45903bbc85886dcb6568c1f3c3f867b2649f2ca /indent/rst.vim
parent730dcb02caab60a6ae5d8b4bdc16d290041061ec (diff)
downloadvim-polyglot-af0eaee01737d26314c9c3618153e99d1eb3e2f1.tar.gz
vim-polyglot-af0eaee01737d26314c9c3618153e99d1eb3e2f1.zip
Update
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