Configure the choosen grammar for files


I have a special file ext .bats which is really a Shell Script. I cannot figure out how to make Atom automatically choose the Shell Script grammar for .bats file. I see grammar-selector in the config.cson, but don’t know how to configure it to do what I want.


There is an Issue open on this here:


While I wait for the fix, I created a grammar based off of shell: