Lines Matching refs:indent
1 " Vim indent file
7 " Only load this indent file when no other was loaded.
30 let curindent = a:0 ? a:1 : indent(a:lnum)
32 \&& indent(prevlnum) >= curindent
40 let plilnum = s:FindPrevLessIndentedLine(a:lnum, indent(a:lnum)+1)
80 let previndent = indent(prevlnum)
84 " Comment blocks should have identical indent
87 " Lines containing only closing braces should have previous indent
88 return indent(s:FindPrevLessIndentedLine(a:lnum))
91 " Ignore comment lines when calculating indent
100 let previndent = indent(prevlnum)
119 "#^^ indent+2, not indent+shiftwidth
128 " List line should have indent equal to previous list line unless it was
130 return indent(s:FindPrevLEIndentedLineMatchingRegex(a:lnum,
137 return indent(prevmapline) + 2
139 return indent(prevmapline)