-
-
Notifications
You must be signed in to change notification settings - Fork 58
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
add fuzzy matching via lua and fts_fuzzy_match.lua #16
Conversation
I guess this is a prerequisite for Neovim support: neovim/neovim#4411 |
@Renstrom Yes. Waiting for neovim support before I finally merge this. Also there are some improvements that I would like to squeeze too. I have been using @roxma seems to have converted ncm to use |
looks like neovim/neovim#4411 is merged |
The reason that I use omnifunc or completefunc instead of If the menu is opened by
|
@roxma thanks for the explanation. Does that mean that if vim and neovim patches @tutysara Lua support in neovim is merged which is awesome, but seems like |
Sure thanks, good idea to have the matcher and sorter separate and allow user to extend/substitute them. I haven't looked much into the code. I came here from the lsp repo, I was looking for an lsp impl for vim to setup with java lsp server. I will watch for updates from here as well |
I'm waiting for calling complete() flickers if popup menu is already open in vim and neovim to be fixed first. Will give it around a month or so if not I may have to first migrate to In the meantime people can continue to use this branch if they want fuzzy matching with lua. I have been using this branch as default in my vimrc and haven't had much problems. |
If you want to have good fuzzy matching checkout https://github.com/jhawthorn/fzy It's better than |
Any process? This feature has lua dependency? |
Closing this in favor of #49. Feel free to give that a try, It has fuzzy completion enabled. |
Do not merge
This is me trying out fuzzy search. I would need to dog-food this more before I merge to master. Would most likely need a refactor too.
Fuzzy only works if lua is supported. Currently doesn't yet work in neovim so it should fallback to prefix search.
Related blog post about https://blog.forrestthewoods.com/reverse-engineering-sublime-text-s-fuzzy-match-4cffeed33fdb