autoload/lsp/completion.vim | 2 +- diff --git a/autoload/lsp/completion.vim b/autoload/lsp/completion.vim index 04e92fa970c95501a170d9ef4b8961154a0ce892..fe9799d02c71ef71d362ea21ab6abb4df3777588 100644 --- a/autoload/lsp/completion.vim +++ b/autoload/lsp/completion.vim @@ -179,7 +179,7 @@ return endif if completeItems->len() == 1 - && getline('.')->matchstr($'{completeItems[0].word}\>') != '' + && getline('.')->matchstr($'\C{completeItems[0].word}\>') != '' # only one complete match. No need to show the completion popup return endif