Update LanguageServer.php
parent
843b0e6852
commit
2baf2cd915
|
@ -45,7 +45,7 @@ class LanguageServer extends AdvancedJsonRpc\Dispatcher
|
||||||
public $codeLens;
|
public $codeLens;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* ClientCapabilities
|
* ClientCapabilities
|
||||||
*/
|
*/
|
||||||
private $clientCapabilities;
|
private $clientCapabilities;
|
||||||
|
|
||||||
|
@ -67,7 +67,6 @@ class LanguageServer extends AdvancedJsonRpc\Dispatcher
|
||||||
$this->protocolReader = $reader;
|
$this->protocolReader = $reader;
|
||||||
$this->protocolReader->on('message', function (Message $msg) {
|
$this->protocolReader->on('message', function (Message $msg) {
|
||||||
coroutine(function () use ($msg) {
|
coroutine(function () use ($msg) {
|
||||||
|
|
||||||
// Ignore responses, this is the handler for requests and notifications
|
// Ignore responses, this is the handler for requests and notifications
|
||||||
if (AdvancedJsonRpc\Response::isResponse($msg->body)) {
|
if (AdvancedJsonRpc\Response::isResponse($msg->body)) {
|
||||||
return;
|
return;
|
||||||
|
|
Loading…
Reference in New Issue