[gnome-builder/1074-vala-language-server-add-support-using-gvls] GVls: added Symbol Resolver provider



commit 49c3725de401bdaac57d9394fd72cd2caa2cf73f
Author: Daniel Espinosa Ortiz <esodan gmail com>
Date:   Mon Dec 2 18:01:30 2019 -0600

    GVls: added Symbol Resolver provider

 src/plugins/gvls/gvls.plugin    | 1 +
 src/plugins/gvls/gvls_plugin.py | 4 ++++
 2 files changed, 5 insertions(+)
---
diff --git a/src/plugins/gvls/gvls.plugin b/src/plugins/gvls/gvls.plugin
index aa366f108..319ff2776 100644
--- a/src/plugins/gvls/gvls.plugin
+++ b/src/plugins/gvls/gvls.plugin
@@ -11,3 +11,4 @@ X-Builder-ABI=@PACKAGE_ABI@
 X-Completion-Provider-Languages=vala
 X-Completion-Provider-Languages-Priority=0
 X-Highlighter-Languages=vala
+X-Symbol-Resolver-Languages=vala
diff --git a/src/plugins/gvls/gvls_plugin.py b/src/plugins/gvls/gvls_plugin.py
index b2acb6e8e..8cc06fb63 100644
--- a/src/plugins/gvls/gvls_plugin.py
+++ b/src/plugins/gvls/gvls_plugin.py
@@ -181,3 +181,7 @@ class GVlsHighlighter(Ide.LspHighlighter):
     def do_load(self):
         GVlsService.bind_client(self)
 
+class GVlsSymbolResolver(Ide.LspSymbolResolver):
+    def do_load(self):
+        GVlsService.bind_client(self)
+


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