Skip to content

Commit 1ba8110

Browse files
authored
Merge pull request #5 from ysp2000/python-support
Support Python.
2 parents 2f90e2b + c7c59af commit 1ba8110

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

ToggleComment/ToggleCommentCommand.cs

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -155,6 +155,10 @@ private static ICodeCommentPattern[] CreateCommentPatterns(string language)
155155
{
156156
return new[] { new LineCommentPattern("'") };
157157
}
158+
case "Python":
159+
{
160+
return new[] { new LineCommentPattern("#") };
161+
}
158162
default:
159163
{
160164
return new ICodeCommentPattern[0];

0 commit comments

Comments
 (0)