[gnome-builder/1074-vala-language-server-add-support-using-gvls] GVls: load-configuration at client set
- From: Daniel Espinosa Ortiz <despinosa src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-builder/1074-vala-language-server-add-support-using-gvls] GVls: load-configuration at client set
- Date: Tue, 10 Dec 2019 14:29:47 +0000 (UTC)
commit 82197b81ac534b6bb68957c9a2339fbb86ec35e4
Author: Daniel Espinosa Ortiz <esodan gmail com>
Date: Fri Dec 6 09:01:44 2019 -0600
GVls: load-configuration at client set
src/plugins/gvls/gvls_plugin.py | 7 ++-----
1 file changed, 2 insertions(+), 5 deletions(-)
---
diff --git a/src/plugins/gvls/gvls_plugin.py b/src/plugins/gvls/gvls_plugin.py
index 9c7901eab..e41f2ff49 100644
--- a/src/plugins/gvls/gvls_plugin.py
+++ b/src/plugins/gvls/gvls_plugin.py
@@ -51,6 +51,8 @@ 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):
@@ -93,11 +95,6 @@ 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]