summaryrefslogtreecommitdiffstats
path: root/runtime/indent/vb.vim
diff options
context:
space:
mode:
Diffstat (limited to 'runtime/indent/vb.vim')
-rw-r--r--runtime/indent/vb.vim2
1 files changed, 1 insertions, 1 deletions
diff --git a/runtime/indent/vb.vim b/runtime/indent/vb.vim
index 5f386f7910..55a8ea302a 100644
--- a/runtime/indent/vb.vim
+++ b/runtime/indent/vb.vim
@@ -48,7 +48,7 @@ fun! VbGetIndent(lnum)
let ind = indent(lnum)
" Add
- if previous_line =~? '^\s*\<\(begin\|\%(\%(private\|public\|friend\)\s\+\)\=\%(function\|sub\|property\)\|select\|case\|default\|if\>.\{-}\<then\>\s*$\|else\|elseif\|do\|for\|while\|enum\|with\)\>'
+ if previous_line =~? '^\s*\<\(begin\|\%(\%(private\|public\|friend\)\s\+\)\=\%(function\|sub\|property\)\|select\|case\|default\|if\|else\|elseif\|do\|for\|while\|enum\|with\)\>'
let ind = ind + &sw
endif