+12

Language on shebang line not correctly detected

Zoran Simic 6 years ago • updated by Matt Joiner 5 years ago 5
Sublime Text 2 doesn't recognize shebang line such as this one:

#!/usr/bin/env python2.6

Please fix this, this should be recognized as a python file
http://dl.dropbox.com/u/4390580/nohightlight

me too. maybe auto detecting failure.
I use Build 2152.
I made a plugin to work around this as I've been having the same issue - https://github.com/vxnick/sublime-shebangsyntax


Hope you find it useful :-)

Hmm, this line seems to be detected properly in Build 2181.  Maybe the bug is fixed?
If so, that's great news!

It recognises 

#!/usr/bin/env

but not

#! /usr/bin/env