diff options
author | Bram Moolenaar <Bram@vim.org> | 2006-04-21 22:12:41 +0000 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2006-04-21 22:12:41 +0000 |
commit | 57657d85c6c3d812e99b5e5d5161c07c66ac7dc7 (patch) | |
tree | 35b6845dc38717148718ac5cf70553b8c2cb96d8 /runtime/indent/sml.vim | |
parent | fc1421eb53b17aa58b01a9c07ba2007eb4a1aa4f (diff) |
updated for version 7.0e05v7.0e05
Diffstat (limited to 'runtime/indent/sml.vim')
-rw-r--r-- | runtime/indent/sml.vim | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/runtime/indent/sml.vim b/runtime/indent/sml.vim index 30d3108a60..fbbb15ed85 100644 --- a/runtime/indent/sml.vim +++ b/runtime/indent/sml.vim @@ -130,14 +130,16 @@ function! GetSMLIndent() elseif line =~ '^\s*else\>' if lline !~ '^\s*\(if\|else\|then\)\>' return s:FindPair('\<if\>', '', '\<then\>') - else return ind + else + return ind endif " Match 'then' with 'if' elseif line =~ '^\s*then\>' if lline !~ '^\s*\(if\|else\|then\)\>' return s:FindPair('\<if\>', '', '\<then\>') - else return ind + else + return ind endif " Indent if current line begins with ']' |