[gnome-builder] vls: support IdeLspSearchService



commit 81c7967df48f546ca65c715da2afdb8bfe174f92
Author: Princeton Ferro <princetonferro gmail com>
Date:   Thu Jul 8 20:39:00 2021 -0400

    vls: support IdeLspSearchService
    
    This allows global search to work with Vala since VLS supports the
    `workspace/symbol` request.

 src/plugins/vls/vala_langserv.py | 3 +++
 1 file changed, 3 insertions(+)
---
diff --git a/src/plugins/vls/vala_langserv.py b/src/plugins/vls/vala_langserv.py
index 262fae6d5..249517d10 100644
--- a/src/plugins/vls/vala_langserv.py
+++ b/src/plugins/vls/vala_langserv.py
@@ -189,3 +189,6 @@ class VlsHoverProvider(Ide.LspHoverProvider):
         self.props.priority = 100
         VlsService.bind_client(self)
 
+class VlsSearchProvider(Ide.LspSearchProvider, Ide.SearchProvider):
+    def do_load(self, context):
+        VlsService.bind_client(self)


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