Mercurial > vim
comparison runtime/indent/sdl.vim @ 4186:7ffc704cb7c1
Updated runtime files.
author | Bram Moolenaar <bram@vim.org> |
---|---|
date | Thu, 07 Mar 2013 13:20:54 +0100 |
parents | 91e53bcb7946 |
children | 63b0b7b79b25 |
comparison
equal
deleted
inserted
replaced
4185:651e484a8f48 | 4186:7ffc704cb7c1 |
---|---|
71 let ind = indent(search('^\s*start', 'bW')) | 71 let ind = indent(search('^\s*start', 'bW')) |
72 endif | 72 endif |
73 | 73 |
74 " Systems and packages are always in column 0 | 74 " Systems and packages are always in column 0 |
75 if getline(v:lnum) =~? '^\s*\(\(end\)\=system\|\(end\)\=package\)' | 75 if getline(v:lnum) =~? '^\s*\(\(end\)\=system\|\(end\)\=package\)' |
76 return 0; | 76 return 0 |
77 endif | 77 endif |
78 | 78 |
79 " Put each end* where the corresponding begin was | 79 " Put each end* where the corresponding begin was |
80 if getline(v:lnum) =~? '^\s*end[[:alpha:]]' | 80 if getline(v:lnum) =~? '^\s*end[[:alpha:]]' |
81 normal k | 81 normal k |