Lines Matching refs:indent

1 " Vim indent file
10 " Only load this indent file when no other was loaded.
18 " Setup indent function and when to use it
23 " Define the appropriate indent function but only once
65 " Keywords to indent on
118 " Start on the line we're at and use its indent.
130 " previous one, keep its indent and continue looking for an MSL.
272 " Use zero indent at the top of the file
280 " If we got a closing bracket on an empty line, find its match and indent
281 " according to it. For parentheses we indent to its column - 1, for the
282 " others we indent to the containing line's MSL's level. Return -1 if fail.
291 let ind = indent(s:GetMSL(line('.')))
297 " If we have a deindenting keyword, find its match and indent to its level.
310 let ind = indent(line('.'))
312 let ind = indent(msl)
320 return indent('.')
328 return indent(prevnonblank(clnum))
331 " At the start of the file use zero indent.
338 let ind = indent(lnum)
340 " If the previous line ended with a block opening, add a level of indent.
342 return indent(s:GetMSL(lnum)) + shiftwidth()
346 " match and indent according to that.
366 return indent('.') + shiftwidth()
368 return indent('.')
376 " indent.
383 let ind = indent('.')
386 let ind = indent(msl)
397 " fails, we know that something is lacking an end and thus we indent a
400 let ind = indent('.')
409 " If the previous line wasn't a MSL and is continuation return its indent.
419 let msl_ind = indent(lnum)
421 " If the MSL line had an indenting keyword in it, add a level of indent.
433 " closing bracket, indent one extra level.