cucumber.el icon indicating copy to clipboard operation
cucumber.el copied to clipboard

Undesired indentation when writing feature

Open zzantares opened this issue 7 years ago • 0 comments

Hello, thanks for the package it's been great so far except for this. I'm having an annoyance with indentation in .feature files, I don't know if this is a feature rather than a bug (see what I did there? :satisfied:). As I write the feature and type RET to get a new line, the feature gets indented like this:

          Feature: manage lessons.

            Scenario: mentor with no lessons attempt to create a lesson.
              Given a new mentor which have no lessons created
              When he submits data to create a new lesson
              Then the lesson is saved and linked to his account.

Note the extra spaces (10 spaces), I would like to get this instead:

Feature: manage lessons.

  Scenario: mentor with no lessons attempt to create a lesson.
    Given a new mentor which have no lessons created
    When he submits data to create a new lesson
    Then the lesson is saved and linked to his account.

What setting could be affecting here?

I hope someone could help. Thanks!

zzantares avatar Apr 20 '17 00:04 zzantares