[gnome-builder] rust-langserv: add simple language server highlighter



commit 6d8600bd468c342e8e72d9ad5b5fbc17b2bcc549
Author: Christian Hergert <chergert redhat com>
Date:   Thu Nov 3 03:11:36 2016 -0700

    rust-langserv: add simple language server highlighter
    
    This isn't the ideal way to do it as described in the language server
    highlighter commit, but its better than nothing. It's limited to
    highlighting symbols that exist within the file.

 plugins/rust-langserv/rust_langserv_plugin.py |    4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)
---
diff --git a/plugins/rust-langserv/rust_langserv_plugin.py b/plugins/rust-langserv/rust_langserv_plugin.py
index 23338f3..9c0445b 100644
--- a/plugins/rust-langserv/rust_langserv_plugin.py
+++ b/plugins/rust-langserv/rust_langserv_plugin.py
@@ -171,3 +171,7 @@ class RustRenameProvider(Ide.LangservRenameProvider):
 class RustSymbolResolver(Ide.LangservSymbolResolver):
     def do_load(self):
         RustService.bind_client(self)
+
+class RustHighlighter(Ide.LangservHighlighter):
+    def do_load(self):
+        RustService.bind_client(self)


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