Skip to content

remove trailing whitespace on visual selection for going to step defi…#11

Open
bridgerbrown wants to merge 1 commit intoavanzzzi:masterfrom
bridgerbrown:trailing-whitespace
Open

remove trailing whitespace on visual selection for going to step defi…#11
bridgerbrown wants to merge 1 commit intoavanzzzi:masterfrom
bridgerbrown:trailing-whitespace

Conversation

@bridgerbrown
Copy link
Copy Markdown

Hello! So when finding a step definition, if it has a trailing whitespace it will not find the step. I noticed here you're only stripping the leading whitespace. Therefore, if I select a step line in Visual Line mode, and I forgot to delete a space at the end, it will not find the definition. I was confused for awhile why this plugin was having trouble finding one of my steps. Is this specificity of only stripping the leading whitespace intentional? Let me know if I'm off here, just thought I would check.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant