[gnome-builder/wip/chergert/langserv] rust-langserv: specify 'rust' as supported language



commit 5c7e60b3c3bbbf24fd36cfeb07fd26b6c93094a9
Author: Christian Hergert <chergert redhat com>
Date:   Mon Oct 24 23:19:40 2016 -0700

    rust-langserv: specify 'rust' as supported language

 plugins/rust-langserv/rust_langserv_plugin.py |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/plugins/rust-langserv/rust_langserv_plugin.py b/plugins/rust-langserv/rust_langserv_plugin.py
index 5b65b7a..63da4e1 100644
--- a/plugins/rust-langserv/rust_langserv_plugin.py
+++ b/plugins/rust-langserv/rust_langserv_plugin.py
@@ -91,6 +91,7 @@ class RustService(Ide.Object, Ide.Service):
             self.client.stop()
 
         self.client = Ide.LangservClient.new(self.get_context(), io_stream)
+        self.client.add_language('rust')
         self.client.start()
 
         self.emit('client-changed', self.client)


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