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

gopls fuzzy matching setting #150

Closed
habamax opened this issue Feb 8, 2020 · 5 comments
Closed

gopls fuzzy matching setting #150

habamax opened this issue Feb 8, 2020 · 5 comments

Comments

@habamax
Copy link

habamax commented Feb 8, 2020

Is it possible to setup gopls for fuzzy matching of completion candidates?

golang/go#32754

Looks like for govim it is enabled by default

@mattn
Copy link
Owner

mattn commented Feb 9, 2020

will consider this positively

@mattn mattn closed this as completed in 1ce6d4b Feb 14, 2020
@habamax
Copy link
Author

habamax commented Feb 14, 2020

Thank you! Do I have to do anything specific to make it work? Like reinstall lsp-server or smth else?

@mattn
Copy link
Owner

mattn commented Feb 14, 2020

Nothing to do. Currently, fuzzy search is enabled in default on glpls. But maintenar of gopls says:

We turned them off for the release, but let's keep them on at master so
that we can get more feedback.

So I enabled for that.

golang/tools@87d9f09

@lithammer
Copy link

lithammer commented Feb 14, 2020

Currently, fuzzy search is enabled in default on glpls.

Is that wanted though? It's very awkward when used together with omnifunc. But maybe I'm in the minority when it comes to not using some kind of auto-complete plugin 🤷‍♂

@mattn
Copy link
Owner

mattn commented Feb 14, 2020

This is not related on auto-complete plugins. This should works with omnifunc.

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

No branches or pull requests

3 participants