nvim-lua / completion-nvim

A async completion framework aims to provide completion to neovim's built in LSP written in Lua
Apache License 2.0
974 stars 78 forks source link

[Question] How can I exclude duplicate completion candidates? #318

Closed nabezokodaikon closed 3 years ago

nabezokodaikon commented 3 years ago
スクリーンショット 2021-01-06 0 42 40

I think it can be done by changing dup to0 in custom completion source, but I don't know how to specify LSP in custom completion source.

haorenW1025 commented 3 years ago

I think we don't provide this for now, but maybe I can add an option for that.

haorenW1025 commented 3 years ago

Can you try #326 and see if it works for you?

nabezokodaikon commented 3 years ago

Thank you for your reply. Duplicates have been excluded in the #326 settings.

haorenW1025 commented 3 years ago

Merged!

nabezokodaikon commented 3 years ago

confirmed. Thank you!