tpope/vim-cucumber

pytest-bdd syntax support

zubieta opened this issue · 1 comments

pytest-bdd uses a slightly different syntax for multiline steps than the original doc strings/pystrings defined in gherkin.

Will it be possible to adjust the syntax to support this use-case as well?

Instead of:

Feature: Multiline steps
    Scenario: Multiline step using sub indentation
        Given I have a step with:
            """
            Some
            Extra
            Lines
            """
        Then the text should be parsed with correct indentation

They use

Feature: Multiline steps
    Scenario: Multiline step using sub indentation
        Given I have a step with:
            Some
            Extra
            Lines
        Then the text should be parsed with correct indentation

Would love to see this implemented :)