提交 cbf2c7a2 编写于 作者: J Johannes Rieken

with an issue with empty completion list when no word exists

上级 b1572f50
......@@ -119,7 +119,7 @@ export class CompletionModel {
// compute highlights based on 'label'
item.highlights = filter(word, suggestion.label);
match = !isFalsyOrEmpty(item.highlights);
match = item.highlights !== null;
// no match on label -> check on codeSnippet
if (!match && suggestion.codeSnippet !== suggestion.label) {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册