Skip to content

Conversation

lucianposton
Copy link

@lucianposton lucianposton commented Aug 2, 2018

Fixes #9

The (incomplete) patterns were shellescape()'d. Even if the full pattern were parsed by s:parseArgs(), it isn't necessary since the user is typing in an argument to a command in the shell in the first place.

Note there is a separate issue in the original code in how s:parseArgs() incorrectly assumes that the first non-option argument is the entire search pattern. Vim's <f-args> doesn't handle quotes like shell quoting, unfortunately, making this assumption in s:parseArgs() incorrect. I went ahead and opened #11 to track this separate issue.

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