[gnome-builder] plugins/python-lsp-server: remove autoImportModules



commit 9d086c817b1f0ea013892598fb0d28b24fd2df8a
Author: Christian Hergert <chergert redhat com>
Date:   Fri Sep 30 11:52:21 2022 -0700

    plugins/python-lsp-server: remove autoImportModules
    
    This isn't a thing with python-lsp-server, so drop it.

 src/plugins/python-lsp-server/gbp-pylsp-service.c | 10 ----------
 1 file changed, 10 deletions(-)
---
diff --git a/src/plugins/python-lsp-server/gbp-pylsp-service.c 
b/src/plugins/python-lsp-server/gbp-pylsp-service.c
index d52676e5e..e966e325f 100644
--- a/src/plugins/python-lsp-server/gbp-pylsp-service.c
+++ b/src/plugins/python-lsp-server/gbp-pylsp-service.c
@@ -37,8 +37,6 @@ static void
 gbp_pylsp_service_configure_client (IdeLspService *service,
                                     IdeLspClient  *client)
 {
-  g_autoptr(GVariant) params = NULL;
-
   IDE_ENTRY;
 
   g_assert (GBP_IS_PYLSP_SERVICE (service));
@@ -46,14 +44,6 @@ gbp_pylsp_service_configure_client (IdeLspService *service,
 
   ide_lsp_client_add_language (client, "python");
 
-  params = JSONRPC_MESSAGE_NEW (
-    "autoImportModules", "[",
-      JSONRPC_MESSAGE_PUT_STRING ("gi"),
-    "]"
-  );
-
-  ide_lsp_client_set_initialization_options (client, params);
-
   IDE_EXIT;
 }
 


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