Enable electric-pair mode for Scala.