Switch branches/tags
Nothing to show
Find file History
Latest commit 008a996 Mar 12, 2017 @mkhl mkhl committed with sorbits Support versioned python in first line
The current first line match only matches `\bpython\b`, which means it doesn’t match hashbang lines with python executables containing a version number, like `python3` which is inserted by the `py3` first line snippet.
This means that when in a new file I expand `py3` the file isn’t switched to Python.

This change adds support for versions in the executable names (including periods like in `python2.7`).