Unnamed repository; edit this file 'description' to name the repository.
-rw-r--r--helix-lsp-types/src/lib.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/helix-lsp-types/src/lib.rs b/helix-lsp-types/src/lib.rs
index 48b8d08e..187369ed 100644
--- a/helix-lsp-types/src/lib.rs
+++ b/helix-lsp-types/src/lib.rs
@@ -712,8 +712,8 @@ pub struct DeleteFile {
#[derive(Debug, Eq, PartialEq, Clone, Deserialize, Serialize)]
#[serde(rename_all = "camelCase")]
pub struct SnippetTextEdit {
- #[serde(flatten)]
- pub text_edit: TextEdit,
+ pub range: Range,
+ pub new_text: String,
#[serde(skip_serializing_if = "Option::is_none")]
pub insert_text_format: Option<InsertTextFormat>,
/// The annotation id if this is an annotated