prevent showing completions for unknown prefixes
parent
db22334409
commit
682d12f44d
|
@ -117,11 +117,15 @@ function createCompletionItemProvider(
|
|||
}
|
||||
}
|
||||
|
||||
if (str.indexOf(separator) === -1) {
|
||||
return prefixItems(items, str, prefix)
|
||||
}
|
||||
|
||||
return []
|
||||
}
|
||||
|
||||
return []
|
||||
}
|
||||
},
|
||||
...triggerCharacters
|
||||
)
|
||||
|
|
Loading…
Reference in New Issue