Wrong language detection


Atom keeps insisting on loading my shell scripts as “Pascal” syntax, even though a #!/bin/sh shebang is clearly used to begin the scripts. This happens when the script name is p (no file extension).


It only happens with that specific name? What about names matching the other fileTypes defined by language-pascal?


You could use something like this plugin: https://atom.io/packages/shebang-set-grammar