There’s a problem with my new system, which is that paren mode (and hence my indentation check) isn’t aware of paren holding.
As soon as I start deleting the println, Cursive starts complaining that the indentation is incorrect, and stops applying parinfer.