Wrong language detection


#1

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).


#2

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


#3

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