-
Notifications
You must be signed in to change notification settings - Fork 18
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
Using ivy--regex-ignore-order in lsp-ivy #14
Comments
It seems space separated match style does not work too. |
sorry for letting this linger for so long, will have a look tomorrow |
as far as I can see, dynamic collections don't take matchers into account, which makes sense as our input must be provided in a form the dynamic backend understands. Though as a user, I'd expect to be able to preselect a list of results using |
Is that mean that's a limitation of Off topic though, it would be nice to have related files info shown in the candidate list like |
There's already a
Could you please give me a simple LSP test case that I can play around with to make S-SPC work for lsp-ivy? However, I think it would be better for the LSP server to do the spaces-based matching and for ivy to only display the results. Similar to how |
oh, indeed. Not sure how I managed to miss that when I was looking for
there's a very minimal example included with lsp-ivy;
yes, given @Isolet's remark I should probably have a look at what vscode is doing. |
I opened a PR that partially addresses your request, though it does no fancy fuzzy matching, just simple string comparisons with the space-separated queries you provide. Could you check and see if that fits your needs? |
@sebastiansturm The PR works quite well for me (not the original OP's request though), except some of the file info not shown. |
strange, could you enable |
The value of which is correct. When I type And the output of the The only strange part to me is the |
I doubt that's one of the offending matches - it specifies |
Here's all the logs since the server is started until I do the first |
thanks! According to your log, the |
I force-pushed the change, please have a look |
@sebastiansturm Works like a charm. Thanks and sorry for hijacking the thread. |
thanks for your help! Will merge this then, but leave the issue open as the original request remains unaddressed |
This might be solved by #24 eventually, since then we will be passing strings to |
Although I have
ivy--regex-ignore-order
set globally as myre-builder
,lsp-ivy
is not respecting this setting.The text was updated successfully, but these errors were encountered: