No need to keep our detector in a val.

detectIndent is called zero or one times for the lifetime of the mode.