TextMate support for Python
Switch branches/tags
Nothing to show
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`).



You can install this bundle in TextMate by opening the preferences and going to the bundles tab. After installation it will be automatically updated for you.



If not otherwise specified (see below), files in this repository fall under the following license:

Permission to copy, use, modify, sell and distribute this
software is granted. This software is provided "as is" without
express or implied warranty, and with no claim as to its
suitability for any purpose.

An exception is made for files in readable text which contain their own license information, or files where an accompanying file exists (in the same directory) with a “-license” suffix added to the base-name name of the original file, and an extension of txt, html, or similar. For example “tidy” is accompanied by “tidy-license.txt”.