Fix workspace/xglob method naming
parent
35a296b7f3
commit
381fd4d594
|
@ -37,7 +37,7 @@ class Workspace
|
||||||
*/
|
*/
|
||||||
public function xglob(string $pattern): Promise
|
public function xglob(string $pattern): Promise
|
||||||
{
|
{
|
||||||
return $this->handler->request('workspace/_glob', ['pattern' => $pattern])->then(function ($textDocuments) {
|
return $this->handler->request('workspace/xglob', ['pattern' => $pattern])->then(function ($textDocuments) {
|
||||||
return $this->mapper->mapArray($textDocuments, [], TextDocumentIdentifier::class);
|
return $this->mapper->mapArray($textDocuments, [], TextDocumentIdentifier::class);
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue