Lines Matching refs:indent
1 " Vim indent file
20 " it, this can leave the indent hanging to the right one too many.
36 " Only load this indent file when no other was loaded.
53 " These keywords are something that would trigger an indent LEFT, not
54 " an indent right, since the SQLBlockStart is used for those keywords
83 " The indent level is also based on unmatched parentheses
84 " If a line has an extra "(" increase the indent
85 " If a line has an extra ")" decrease the indent
107 " Unindent commands based on previous indent level
162 " Return its indent level
165 " Should return indent level of CASE
170 " Should return indent level of exception.
174 " Default - reduce indent by 1
175 let ind = indent(a:curr_lnum) - shiftwidth()
190 let ind = indent(matching_lnum)
202 let ind = indent(matching_lnum)
204 let ind = indent(a:curr_lnum)
250 " Find correct indent of a new line based upon the previous line
253 let ind = indent(lnum)
255 " If the current line is a comment, leave the indent as is
270 let ind = s:ModuloIndent(indent(prevlnum))
275 " the indent to use
284 " echom 'PREVIOUS INDENT: ' . indent(prevlnum) . ' LINE: ' . getline(prevlnum)
288 " Based on this line, we can determine how much to indent the new
291 " Get default indent (from prev. line)
292 let ind = indent(prevlnum)
295 " Now check what's on the previous line to determine if the indent
296 " should be changed, for example IF, BEGIN, should increase the indent
297 " where END IF, END, should decrease the indent.
299 " Move indent in
301 " echom 'prevl - SQLBlockStart - indent ' . ind . ' line: ' . prevline
316 " increase indent
322 " maintain the indent level
349 " echom 'curr - else - indent ' . ind
354 " echom 'curr - end - indent ' . ind
358 " clause, do not change the indent level, since these
368 " If the line ends in a ), then reduce the indent
392 " echom 'final - indent ' . ind