diff --git a/src/Client/Workspace.php b/src/Client/Workspace.php index 7d85f99..d2bf239 100644 --- a/src/Client/Workspace.php +++ b/src/Client/Workspace.php @@ -37,7 +37,7 @@ class Workspace */ 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); }); }