Lines Matching refs:indent

2 "  Description: Vim Ada indent file
13 " $HeadURL: https://gnuada.svn.sourceforge.net/svnroot/gnuada/trunk/tools/vim/indent/ada.vim $
19 " Help Page: ft-vim-indent
24 " Combine the two large block-indent functions into one?
27 " Only load this indent file when no other was loaded.
53 " Try to find indent of the block we're in
54 " prev_indent = the previous line's indent
59 " with a lesser or equal indent than we currently (on prev_lnum) have.
61 " nowhere near the correct indent (e.g., start of line)!
62 " Seems to work OK as it 'starts' with the indent of the /previous/ line.
67 if a:stop_at != '' && line =~ '^\s*' . a:stop_at && indent(lnum) < a:prev_indent
70 let ind = indent(lnum)
95 " Try to find indent of the block we're in (and about to complete),
97 " prev_indent = the previous line's indent
107 let ind = indent(lnum)
139 " Return indent of previous statement-start
160 " Leave indent alone if our ';' line is part of a ';'-delineated
166 let ind = indent(prev_lnum)
179 " Find correct indent of a new line based upon what went before
184 let ind = indent(lnum)
199 " Get default indent (from prev. line)
200 let ind = indent(lnum)
214 " Move indent in
219 " Move indent in twice (next 'when' will move back)
222 " Move indent back to tallying 'type' preceding the 'record'.
223 " Allow indent to be equal to 'end record's.
226 " Revert to indent of line that started this parenthesis pair
230 " Dire layout - use previous indent (could check for g:ada#Comment here)
231 let ind = indent( prevnonblank( line('.')-1 ) )
233 let ind = indent('.')
243 " Statement end (but not 'end' ) - try to find current statement-start indent