[gnome-builder/1241-gvls-add-support-for-hover-provider: 2/2] GVls: add support for HoverProvider
- From: Christian Hergert <chergert src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-builder/1241-gvls-add-support-for-hover-provider: 2/2] GVls: add support for HoverProvider
- Date: Mon, 22 Jun 2020 18:09:07 +0000 (UTC)
commit 4e8ff5d3a214a4e1428d7d693f6b3c94b77d6ce8
Author: Daniel Espinosa Ortiz <esodan gmail com>
Date: Sat Jun 20 20:40:15 2020 -0500
GVls: add support for HoverProvider
Fix issue #1241
src/plugins/gvls/gvls_plugin.py | 6 ++++++
1 file changed, 6 insertions(+)
---
diff --git a/src/plugins/gvls/gvls_plugin.py b/src/plugins/gvls/gvls_plugin.py
index 1ff1557fc..36ec9895f 100644
--- a/src/plugins/gvls/gvls_plugin.py
+++ b/src/plugins/gvls/gvls_plugin.py
@@ -566,3 +566,9 @@ class GVlsSymbolResolver(Ide.LspSymbolResolver, Ide.SymbolResolver):
def do_load(self):
GVlsService.bind_client(self)
+class GVlsHoverProvider(Ide.LspHoverProvider, Ide.HoverProvider):
+ def do_prepare(self):
+ self.props.category = 'Vala'
+ self.props.priority = 200
+ GVlsService.bind_client(self)
+
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]