Skip to content
This repository was archived by the owner on Oct 13, 2021. It is now read-only.

Consider completion item "dup" property if provided. Fixes #152.#171

Merged
haorenW1025 merged 1 commit intonvim-lua:masterfrom
kristijanhusak:fix/deduplication
Aug 13, 2020
Merged

Consider completion item "dup" property if provided. Fixes #152.#171
haorenW1025 merged 1 commit intonvim-lua:masterfrom
kristijanhusak:fix/deduplication

Conversation

@kristijanhusak
Copy link
Copy Markdown
Contributor

This is the fix for #152.
Basically, if someone provides dup option explicitly, it is considered. If not, defaults to 1.

I think this should fix the issue for custom sources where we can provide this property, but it should also maintain backward compatibility.

@haorenW1025 haorenW1025 merged commit 6cbeb08 into nvim-lua:master Aug 13, 2020
@haorenW1025
Copy link
Copy Markdown
Collaborator

LGTM, thanks!

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants