Mercurial > vim
comparison runtime/indent/vb.vim @ 2432:80229a724a11 vim73
Updated runtime files. :TOhtml improvements by Benjamin Fritz.
author | Bram Moolenaar <bram@vim.org> |
---|---|
date | Thu, 29 Jul 2010 20:43:36 +0200 |
parents | c0e675a3e363 |
children | 63b0b7b79b25 |
comparison
equal
deleted
inserted
replaced
2431:7b764999f9b9 | 2432:80229a724a11 |
---|---|
46 endif | 46 endif |
47 | 47 |
48 let ind = indent(lnum) | 48 let ind = indent(lnum) |
49 | 49 |
50 " Add | 50 " Add |
51 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\)\>' | 51 if previous_line =~? '^\s*\<\(begin\|\%(\%(private\|public\|friend\)\s\+\)\=\%(function\|sub\|property\)\|select\|case\|default\|if\|else\|elseif\|do\|for\|while\|enum\|with\)\>' |
52 let ind = ind + &sw | 52 let ind = ind + &sw |
53 endif | 53 endif |
54 | 54 |
55 " Subtract | 55 " Subtract |
56 if this_line =~? '^\s*\<end\>\s\+\<select\>' | 56 if this_line =~? '^\s*\<end\>\s\+\<select\>' |