python detection bug

--HG--
branch : pmacs2
This commit is contained in:
Erik Osheim 2009-08-10 23:48:28 -04:00
parent fb79f41c38
commit 2fe2018158
1 changed files with 1 additions and 1 deletions

View File

@ -562,7 +562,7 @@ class Python(mode.Fundamental):
name = 'Python'
extensions = ['.py']
#detection = ['python']
detection = [re.compile('^#!(?:.+/)python')]
detection = [re.compile('^#!(?:.+[/ ])python')]
tabbercls = PythonTabber
grammar = PythonGrammar
opentokens = ('delimiter',)