[gnome-builder/1074-vala-language-server-add-support-using-gvls: 13/17] GVls: enable Diagnostic Provider
- From: Daniel Espinosa Ortiz <despinosa src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-builder/1074-vala-language-server-add-support-using-gvls: 13/17] GVls: enable Diagnostic Provider
- Date: Tue, 10 Dec 2019 20:38:17 +0000 (UTC)
commit 190ca9054c70c02e5e98035872a4a69245e90bb1
Author: Daniel Espinosa Ortiz <esodan gmail com>
Date: Thu Dec 5 09:11:55 2019 -0600
GVls: enable Diagnostic 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 319ff2776..8695ed0da 100644
--- a/src/plugins/gvls/gvls.plugin
+++ b/src/plugins/gvls/gvls.plugin
@@ -12,3 +12,4 @@ X-Completion-Provider-Languages=vala
X-Completion-Provider-Languages-Priority=0
X-Highlighter-Languages=vala
X-Symbol-Resolver-Languages=vala
+X-Diagnostic-Provider-Languages=vala
diff --git a/src/plugins/gvls/gvls_plugin.py b/src/plugins/gvls/gvls_plugin.py
index 9ba613df0..c7f5afd7b 100644
--- a/src/plugins/gvls/gvls_plugin.py
+++ b/src/plugins/gvls/gvls_plugin.py
@@ -216,3 +216,7 @@ class GVlsSymbolResolver(Ide.LspSymbolResolver):
def do_load(self):
GVlsService.bind_client(self)
+
+class GVlsDiagnosticProvider(Ide.LspDiagnosticProvider):
+ def do_load(self):
+ GVlsService.bind_client(self)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]