Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 3e1a7ce

Browse files
committed
Merge pull request atom#58 from kcuzner/python-version-numbers
Add support for version numbers in the first line for python
2 parents 8daa100 + ac7fb31 commit 3e1a7ce

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

grammars/python.cson

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
'tac'
1717
'wsgi'
1818
]
19-
'firstLineMatch': '^#!/.*\\bpython\\b'
19+
'firstLineMatch': '^#!/.*\\bpython[\\d\\.]*\\b'
2020
'patterns': [
2121
{
2222
'begin': '(^[ \\t]+)?(?=#)'

0 commit comments

Comments
 (0)