Enable subword-mode in scala-mode.
Enable electric-pair-mode in scala-mode.