[gnome-builder/wip/gtk4-port: 568/736] plugins/go-langserv: port to GTK 4




commit 760f825598664cb9666b24f7d266980d4a9c4a4b
Author: Christian Hergert <chergert redhat com>
Date:   Mon Apr 11 17:35:10 2022 -0700

    plugins/go-langserv: port to GTK 4

 src/plugins/go-langserv/go_langserver_plugin.py | 6 +++---
 src/plugins/meson.build                         | 2 +-
 2 files changed, 4 insertions(+), 4 deletions(-)
---
diff --git a/src/plugins/go-langserv/go_langserver_plugin.py b/src/plugins/go-langserv/go_langserver_plugin.py
index a473e3838..699d395bd 100644
--- a/src/plugins/go-langserv/go_langserver_plugin.py
+++ b/src/plugins/go-langserv/go_langserver_plugin.py
@@ -35,7 +35,7 @@ class GoService(Ide.LspService):
     def do_configure_client(self, client):
         client.add_language('go')
 
-class GoSymbolResolver(Ide.LspSymbolResolver, Ide.SymbolResolver):
+class GoSymbolResolver(Ide.LspSymbolResolver):
     def do_load(self):
         GoService.bind_client(self)
 
@@ -45,6 +45,6 @@ class GoHoverProvider(Ide.LspHoverProvider):
         self.props.priority = 100
         GoService.bind_client(self)
 
-class GoCompletionProvider(Ide.LspCompletionProvider, Ide.CompletionProvider):
-    def do_load(self, context):
+class GoCompletionProvider(Ide.LspCompletionProvider):
+    def do_load(self):
         GoService.bind_client(self)
diff --git a/src/plugins/meson.build b/src/plugins/meson.build
index 87db59c63..78d81b0be 100644
--- a/src/plugins/meson.build
+++ b/src/plugins/meson.build
@@ -78,7 +78,7 @@ subdir('gdiagnose')
 subdir('gettext')
 subdir('git')
 #subdir('glade')
-#subdir('go-langserv')
+subdir('go-langserv')
 #subdir('gjs-symbols')
 subdir('gradle')
 subdir('greeter')


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]