aboutsummaryrefslogtreecommitdiff
path: root/helix-core/src
diff options
context:
space:
mode:
authorsigmaSd2022-12-02 01:18:45 +0000
committerGitHub2022-12-02 01:18:45 +0000
commit4960c41f18d93e8b4c48a7c4e96f00d948cfad5f (patch)
tree95864333284c1511f5c8a2e2a001e917f96f9e17 /helix-core/src
parent8291654326e0e5ff14830bfade72178b622a9f3c (diff)
feat(lsp): add support for lsp Diagnostic{}.data (#4935)
Diffstat (limited to 'helix-core/src')
-rw-r--r--helix-core/src/diagnostic.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/helix-core/src/diagnostic.rs b/helix-core/src/diagnostic.rs
index db1f2da9..6b5da17e 100644
--- a/helix-core/src/diagnostic.rs
+++ b/helix-core/src/diagnostic.rs
@@ -45,4 +45,5 @@ pub struct Diagnostic {
pub code: Option<NumberOrString>,
pub tags: Vec<DiagnosticTag>,
pub source: Option<String>,
+ pub data: Option<serde_json::Value>,
}