Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix for autocomplete things beginning with / and make it work still for things without / #179

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

mattiasrunge
Copy link

When returning an array of matches to autocomplete which begins with / it ignored the result.
If trying to autocomplete "/t" with result [ "/test/" ] the match was discarded.
Though trying to autocomplete "t" with [ "test/" ] would give the expected result.

This fix makes both cases work.

@dthree
Copy link
Owner

dthree commented Apr 9, 2017

Thanks. Can you add a test for this?

@milesj
Copy link
Contributor

milesj commented May 25, 2017

@mattiasrunge You around to add a test?

@mattiasrunge
Copy link
Author

Could maybe do it, but don't have time currently so it will be a while before I can help, sorry.

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.

3 participants