michaelklishin / cucumber.el

Emacs mode for editing Cucumber plain text stories
None!
253 stars 90 forks source link

Indent lines after background the same as scenario and feature #12

Closed kelsin closed 13 years ago

kelsin commented 13 years ago

Howdy :)

When using cucumber.el today I noticed that it wasn't letting me indent my background section the way the cucumber wiki shows:

https://github.com/cucumber/cucumber/wiki/Background

Lines below a Background: section should be indented.

This change fixes this. Let me know if anything else should be done, or if this is the wrong approach.

michaelklishin commented 13 years ago

Thank you!

kelsin commented 13 years ago

Np, thanks :)

cmeiklejohn commented 13 years ago

+1 from a vim user ;)

emadridm commented 13 years ago

I added two files to snippets folder for "Scenario Outline" and "Scenarios". However, next lines to this sections are not indented.

Lines bellow a Scenario Outline: and Scenarios: should be indented.