Mercurial > vim
comparison runtime/indent/xf86conf.vim @ 11160:d0a20101ecb2
Update runtime files.
commit https://github.com/vim/vim/commit/036986f1507d223549d110af300144468bd3a1f7
Author: Bram Moolenaar <Bram@vim.org>
Date: Thu Mar 16 17:41:02 2017 +0100
Update runtime files.
author | Christian Brabandt <cb@256bit.org> |
---|---|
date | Thu, 16 Mar 2017 17:45:05 +0100 |
parents | 1218c5353e2b |
children | 4d76b3e07c07 |
comparison
equal
deleted
inserted
replaced
11159:c13ab9398ce9 | 11160:d0a20101ecb2 |
---|---|
24 endif | 24 endif |
25 | 25 |
26 let ind = indent(lnum) | 26 let ind = indent(lnum) |
27 | 27 |
28 if getline(lnum) =~? '^\s*\(Sub\)\=Section\>' | 28 if getline(lnum) =~? '^\s*\(Sub\)\=Section\>' |
29 let ind = ind + &sw | 29 let ind = ind + shiftwidth() |
30 endif | 30 endif |
31 | 31 |
32 if getline(v:lnum) =~? '^\s*End\(Sub\)\=Section\>' | 32 if getline(v:lnum) =~? '^\s*End\(Sub\)\=Section\>' |
33 let ind = ind - &sw | 33 let ind = ind - shiftwidth() |
34 endif | 34 endif |
35 | 35 |
36 return ind | 36 return ind |
37 endfunction | 37 endfunction |