Lines Matching refs:indent
1 " Vim indent file
10 " Only load this indent file when no other was loaded.
122 " Start on the line we're at and use its indent.
159 " let type = synIDattr(synID(lnum, indent(lnum) + 1, 0), 'name')
194 " if the previous line doesn't end in a comma, return to regular indent
196 return indent(prev_lnum) - shiftwidth()
198 return indent(lvar) + shiftwidth()
238 " If the previous line wasn't a MSL and is continuation return its indent.
247 let msl_ind = indent(lnum)
305 " If we got a closing bracket on an empty line, find its match and indent
306 " according to it. For parentheses we indent to its column - 1, for the
307 " others we indent to the containing line's MSL's level. Return -1 if fail.
318 " if the previous line ends in comma or semicolon don't indent
320 return indent(s:GetMSL(line('.'), 0))
321 " get previous line indent, if it's comma first return prevline indent
323 return indent(prevline)
324 " otherwise we indent 1 level
326 return indent(lvar) + shiftwidth()
337 let ind = indent(s:GetMSL(line('.'), 0))
345 return indent(prevline) - shiftwidth()
350 return indent(prevline)
352 return indent(prevline) + shiftwidth()
371 " comment, use that comment's indent. Deduct one char to account for the
374 return indent(prevline) - 1
382 return indent(prevnonblank(v:lnum))
385 " At the start of the file use zero indent.
392 let ind = indent(lnum)
394 " If the previous line ended with a block opening, add a level of indent.
396 return indent(s:GetMSL(lnum, 0)) + shiftwidth()
400 " add indent depending on the bracket type.
448 let l:first_char = indent(a:lnum) + 1
485 if breakpoint[1] <= indent(a:lnum)