continuedIndent

fun continuedIndent(units: Int = 1, except: Regex? = null): (TreeIndentContext) -> Int?

Standard indent strategy: continue the indentation of the previous line, optionally with additional units.

Parameters

units

Number of indent units to add.

except

When the text after the cursor matches this regex, return baseIndent without extra indentation.