Skip to content

When should item.word be used for a completion item? #657

Answered by hrsh7th
smjonas asked this question in Q&A
Discussion options

You must be logged in to vote

First, I would like to remove the word and dup properties if possible.

But at the moment they are implemented.
First, the dup property is needed because LSP doesn't have the ability to" remove the candidate if there is another high-priority identical word "in vim.

And the reason the word property exists is that LSP and VSCode don't define" text to insert at selection ".

google translated

Replies: 4 comments 1 reply

Comment options

You must be logged in to vote
1 reply
@smjonas
Comment options

Comment options

You must be logged in to vote
0 replies
Answer selected by smjonas
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants