Lines Matching refs:indent
1 " Vim indent file
7 " Only load this indent file when no other was loaded.
35 return indent(a:lnum) <= a:expected - shiftwidth()
44 return indent(a:lnum - 1)
46 …return indent(a:lnum - 1) + (exists("g:pyindent_continue") ? eval(g:pyindent_continue) : (shiftwid…
49 " If the start of the line is in a string don't change the indent.
59 " This is the first non-empty line, use zero indent.
70 let plindent = indent(plnum)
78 " If the previous line is inside parenthesis, use the indent of the starting
88 let plindent = indent(parlnum)
91 let plindent = indent(plnum)
108 " When the start is inside parenthesis, only indent one 'shiftwidth'.
115 …return indent(plnum) + (exists("g:pyindent_nested_paren") ? eval(g:pyindent_nested_paren) : shiftw…
117 …return indent(plnum) + (exists("g:pyindent_open_paren") ? eval(g:pyindent_open_paren) : (shiftwidt…
120 return indent(plnum)
160 " If the previous line ended with a colon, indent this line
168 if s:Dedented(a:lnum, indent(plnum))
173 return indent(plnum) - shiftwidth()
181 let ind = indent(lnum)
182 if ind >= indent(a:lnum)
183 return -1 " indent is already less than this