[gnome-builder] Revert "GVls: load-configuration at client set"
- From: Christian Hergert <chergert src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-builder] Revert "GVls: load-configuration at client set"
- Date: Sat, 14 Dec 2019 20:42:24 +0000 (UTC)
commit df0e733511a02c715cd1b645ae82dc87c23f2111
Author: Christian Hergert <chergert redhat com>
Date: Sat Dec 14 12:41:41 2019 -0800
Revert "GVls: load-configuration at client set"
This reverts commit a62a8d0a2fe80ebb8104125dcf78b583ac0851ca.
src/plugins/gvls/gvls_plugin.py | 7 +++++--
1 file changed, 5 insertions(+), 2 deletions(-)
---
diff --git a/src/plugins/gvls/gvls_plugin.py b/src/plugins/gvls/gvls_plugin.py
index e41f2ff49..9c7901eab 100644
--- a/src/plugins/gvls/gvls_plugin.py
+++ b/src/plugins/gvls/gvls_plugin.py
@@ -51,8 +51,6 @@ class GVlsService(Ide.Object):
@client.setter
def client(self, value):
self._client = value
- ## Construct GVls Configuration response at `initialize`
- self._client.connect('load-configuration', self._on_load_configuration)
self.notify('client')
def do_parent_set(self, parent):
@@ -95,6 +93,11 @@ class GVlsService(Ide.Object):
# to its :client property.
if not self._has_started:
self._has_started = True
+ print ('Starting GVls server')
+
+
+ ## Construct GVls Configuration response at `initialize`
+ self._client.connect('load-configuration', self._on_load_configuration)
# Setup a launcher to spawn the rust language server
launcher = self._create_launcher()
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]