Home | History | Annotate | Download | only in indent

Lines Matching full:indent

1 " Vim indent file
4 " What this indent plugin currently does:
5 " - If no other rule matches copy indent from previous non-empty,
9 " - If the current line ends with ':' indent at the same level as the
13 " - If there is an opening+unclosed parenthesis on previous line indent to that
41 return indent(opening_lnum)
45 " Indent labels the same as the current opening block
49 return indent(blockbegin)
55 while prev_lnum > 0 && synIDattr(synID(prev_lnum, indent(prev_lnum)+1, 0), "name") =? "string\|comment"
58 " Hit the start of the file, use zero indent.
63 let ind = indent(prev_lnum)