Skip to content

Commit b3d969c

Browse files
scopalecthomas
authored andcommitted
python: add *.pyi
1 parent d489fc3 commit b3d969c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: lexers/p/python.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ var Python = internal.Register(MustNewLazyLexer(
1010
&Config{
1111
Name: "Python",
1212
Aliases: []string{"python", "py", "sage"},
13-
Filenames: []string{"*.py", "*.pyw", "*.sc", "SConstruct", "SConscript", "*.tac", "*.sage"},
13+
Filenames: []string{"*.py", "*.pyi", "*.pyw", "*.sc", "SConstruct", "SConscript", "*.tac", "*.sage"},
1414
MimeTypes: []string{"text/x-python", "application/x-python"},
1515
},
1616
pythonRules,

0 commit comments

Comments
 (0)