diff options
Diffstat (limited to 'runtime/indent/rst.vim')
-rw-r--r-- | runtime/indent/rst.vim | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/runtime/indent/rst.vim b/runtime/indent/rst.vim index ac5e9bb5c..e6fe2b554 100644 --- a/runtime/indent/rst.vim +++ b/runtime/indent/rst.vim @@ -1,5 +1,5 @@ " Vim indent file -" Language: reStructuredText Documentation Format +" Language: reStructuredText Documentation Format " Maintainer: Nikolai Weibull <now@bitwi.se> " Latest Revision: 2006-04-19 @@ -40,7 +40,7 @@ function GetRSTIndent() let ind = ind - 2 elseif line =~ '^\s*\d\+\.\s' let ind = ind - matchend(substitute(line, '^\s*', '', ''), - \ '\d\+\.\s\+') + \ '\d\+\.\s\+') elseif line =~ '^\s*\.\.' let ind = ind - 3 else |