astoff / digestif

A language server for TeX and friends
Other
251 stars 6 forks source link

Fuzzy completion definitely works with `corfu`! #47

Closed hammerfunctor closed 1 year ago

hammerfunctor commented 1 year ago

The fuzzy completion features is known to work in conjunction with Company mode. Other completion UIs may be incompatible.

Corfu+eglot with any configuration: Screenshot_20220829_013053

manuel-uberti commented 1 year ago

@astoff Would it make sense to mention corfu in the README (maybe point at this ticket for reference) and close this ticket?

astoff commented 1 year ago

Can you confirm that you get the same behavior? Last time I tried, I wasn't able. Also, I suspect this screenshot is using the (rather old) version 0.4 from luarocks, not the current Git version.

manuel-uberti commented 1 year ago

Can you confirm that you get the same behavior? Last time I tried, I wasn't able. Also, I suspect this screenshot is using the (rather old) version 0.4 from luarocks, not the current Git version.

It works with latest digestif and completion-styles set to flex. FTR, it works just as well with orderless.

hammerfunctor commented 1 year ago

I haven't set up anything for it. It works out of the box with digestif installed from AUR digestif-git (https://aur.archlinux.org/cgit/aur.git/tree/PKGBUILD?h=digestif-git), a latest git installation. Though it does fail to prompt completion when it found multiple bib files with the same name, one of which is located in like /usr/local/share/texmf/bibtex/bib/, I don't think this behavior results from the completion front end.