Atom.io package to set syntax mode based on comment string (-- mode: MODE --).
Automatically sets the syntax highlighting mode when Atom can't properly guess it.
Somewhere in the file, create a comment of this form:
# -*- mode: NAME -*-
When the file is opened, the syntax will be set to
bash, etc... The matching is exact and case sensitive, caveat emptor.
Good catch. Let us know what about this package looks wrong to you, and we'll investigate right away.