add hook to run ensime in scala mode 2