michaelklishin / cucumber.el

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

feat(match_braces): Add support for matching {type} brace placeholder… #78

Closed BedfordWest closed 5 years ago

BedfordWest commented 5 years ago

…s in newer cucumber

I am using feature-mode with a newer version of cucumber where brace placeholders are the preferred method of type substitution (e.g. {word}, {string}, {int}). This PR simply converts those placeholders into TOKEN in the existing logic, which causes them to be replaced with (.*) regex and matched against corresponding step definitions.

I ran the tests and verified they still pass per the README, and this works correctly per my expectations on my local system.

michaelklishin commented 5 years ago

Thank you!