diff --git a/autoload/lsc/complete.vim b/autoload/lsc/complete.vim index 13f9ab88..e09a22e4 100644 --- a/autoload/lsc/complete.vim +++ b/autoload/lsc/complete.vim @@ -223,7 +223,7 @@ endfunction " `label` is always expected to be set and is used as the `abbr` shown in the " popupmenu. This may be different from the inserted text. function! s:CompletionItem(completion_item) abort - let item = {'abbr': a:completion_item.label} + let item = {'abbr': a:completion_item.label, 'dup': 1} if has_key(a:completion_item, 'textEdit') let item.word = a:completion_item.textEdit.newText let item.start_col = a:completion_item.textEdit.range.start.character + 1