Emacs is treating my Scala code as shell scripts due to an incorrect mimetype being set:
file -I Hello.scala Hello.scala: text/x-shellscript; charset=us-ascii
I tried changing the
Open with... information for the file, but Mac still uses the wrong mimetype. How can I fix the mimetype, preferably with a Terminal.app command?