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