[gnome-builder/wip/chergert/jsonrpc-gvariant] rust: conform to changes in CompletionProvider



commit 3a3e1ea8156ffe15dbbdcdfa657fe13d24a57fa5
Author: Christian Hergert <chergert redhat com>
Date:   Fri Mar 17 16:08:36 2017 -0700

    rust: conform to changes in CompletionProvider
    
    This has a context parameter now since we can't inherit from IdeObject.

 plugins/rust-langserv/rust_langserv_plugin.py |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/plugins/rust-langserv/rust_langserv_plugin.py b/plugins/rust-langserv/rust_langserv_plugin.py
index 4c6f8c4..df9d66d 100644
--- a/plugins/rust-langserv/rust_langserv_plugin.py
+++ b/plugins/rust-langserv/rust_langserv_plugin.py
@@ -168,7 +168,7 @@ class RustDiagnosticProvider(Ide.LangservDiagnosticProvider):
         RustService.bind_client(self)
 
 class RustCompletionProvider(Ide.LangservCompletionProvider):
-    def do_load(self):
+    def do_load(self, context):
         RustService.bind_client(self)
 
 class RustRenameProvider(Ide.LangservRenameProvider):


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