Lines Matching full:line

45   " If this line is explicitly joined: If the previous line was also joined,
46 " line it up with that one, otherwise add two 'shiftwidth'
54 " If the start of the line is in a string don't change the indent.
60 " Search backwards for the previous non-empty line.
64 " This is the first non-empty line, use zero indent.
83 " If the previous line is inside parenthesis, use the indent of the starting
84 " line.
88 \ "line('.') < " . (plnum - s:maxoff) . " ? dummy :"
89 \ . " synIDattr(synID(line('.'), col('.'), 1), 'name')"
108 " When inside parenthesis: If at the first line below the parenthesis add
109 " two 'shiftwidth', otherwise same as previous line.
115 \ "line('.') < " . (a:lnum - s:maxoff) . " ? dummy :"
116 \ . " synIDattr(synID(line('.'), col('.'), 1), 'name')"
121 " Handle first non-empty line inside a BB Python task
127 let line = getline(a:lnum)
128 if line =~ '^\s*}'
138 \ "line('.') < " . (a:lnum - s:maxoff) . " ? dummy :"
139 \ . " synIDattr(synID(line('.'), col('.'), 1), 'name')"
157 " Get the line and remove a trailing comment.
162 " If the last character in the line is a comment, do a binary search for
164 " too long on a long line.
189 " If the previous line ended with a colon, indent this line
194 " If the previous line was a stop-execution statement...
206 " If the current line begins with a keyword that lines up with "try"
215 return ind " line up with previous try or except
222 " If the current line begins with a header keyword, dedent
225 " Unless the previous line was a one-liner
238 " When after a () construct we probably want to go back to the start line.
281 " Quote handling is tricky. kernel.bbclass has this line for instance:
284 " double-quote on a line by itself (following an assignment) means the
298 " the previous line, to avoid misleading indentation.
302 " Did the previous line introduce an assignment?