danielchatfield/atom-jinja2

support for file format based on shebang header

ssbarnea opened this issue · 0 comments

It would be very useful to enable file format detection based on shebang lines. Here are few examples:

#!/bin/bash ...
#!/bin/sh ...
(shell)

#!/usr/bin/env ansible-playbook -i ../hosts -K
(yaml)

#!/usr/bin/env python
#!/usr/bin/env python2
#!/usr/bin/env python3
#!/usr/bin/env python2.7
(python)

References