Fix workspace/symbols
parent
93271bbcc4
commit
8117b49911
|
@ -68,7 +68,7 @@ class Workspace
|
||||||
{
|
{
|
||||||
return coroutine(function () use ($query) {
|
return coroutine(function () use ($query) {
|
||||||
// Wait until indexing for definitions finished
|
// Wait until indexing for definitions finished
|
||||||
if (!$this->index->isComplete()) {
|
if (!$this->index->isStaticComplete()) {
|
||||||
yield waitForEvent($this->index, 'static-complete');
|
yield waitForEvent($this->index, 'static-complete');
|
||||||
}
|
}
|
||||||
$symbols = [];
|
$symbols = [];
|
||||||
|
|
Loading…
Reference in New Issue