Skip to content

Commit

Permalink
Added code folding support for Cucumber Steps
Browse files Browse the repository at this point in the history
  • Loading branch information
acammack committed Jun 18, 2010
1 parent 8dddc5f commit c02c52a
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions Syntaxes/Cucumber Steps.tmLanguage
Expand Up @@ -6,6 +6,10 @@
<array>
<string>steps.rb</string>
</array>
<key>foldingStartMarker</key>
<string>^\s*\b(Given|When|Then|def)</string>
<key>foldingStopMarker</key>
<string>^\s*(end)$</string>
<key>keyEquivalent</key>
<string>^~C</string>
<key>name</key>
Expand Down

2 comments on commit c02c52a

@drnic
Copy link

@drnic drnic commented on c02c52a Jun 18, 2010

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think this will need to be generated to include all the supported languages.

@drnic
Copy link

@drnic drnic commented on c02c52a Jun 18, 2010

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

But it's a sweet idea.

Please sign in to comment.