Lines Matching refs:indent
1 " VHDL indent ('93 syntax)
8 " only load this indent file when no other was loaded
14 " setup indent options for local VHDL buffer
40 " only define indent function once
59 " default indent starts as previous non-comment line's indent
60 let ind = prevn > 0 ? indent(prevn) : 0
64 " indent: special; kill string so it would not affect other filters
75 " indent: previous line's comment position, otherwise follow next non-comment line if possible
82 return indent(pn) + stridx(substitute(ps, '^\s*', '', ''), '--')
91 let n = indent(nn)
97 " indent: align generic variables & port names
124 " indent: align conditional/select statement
135 " indent: backtrace previous non-comment lines for next smaller or equal size indent
144 " _note_: indent allowed to leave this filter
158 let t = indent(pn)
182 " indent: follow
190 let ind = indent(ppn)
195 let ind = indent(ppn)
206 " indent: follow indent of previous opening statement, otherwise -sw
221 return indent(pn) - shiftwidth()
228 return indent(pn)
232 " indent: +sw if previous line is previous opening statement
246 " indent: 0
253 " indent: maintain indent of previous opening statement
262 " indent: maintain indent of previous opening statement
271 " indent: maintain indent of previous opening statement
280 " indent: +sw
288 " indent: +sw
296 " indent: +sw
304 " indent: +sw
311 " _note_: indent allowed to leave this filter
317 " indent: -sw
331 " indent: -sw
343 " indent: backtrace previous non-comment lines
359 "indent: -2sw
362 "indent: -sw
365 "indent: follow
370 return indent(pn) - 2 * shiftwidth()
372 return indent(pn) - shiftwidth()
374 return indent(pn)
376 "indent: follow
381 return indent(pn)
391 " indent: -sw
398 " indent: 0
405 " indent: -sw
414 " indent: maintain indent of previous opening statement
422 " indent: maintain indent of previous opening statement, corner case which
433 " return leftover filtered indent