aboutsummaryrefslogtreecommitdiff
path: root/helix-lsp/src
diff options
context:
space:
mode:
authorBlaž Hrastnik2021-02-16 06:39:41 +0000
committerBlaž Hrastnik2021-02-16 06:45:46 +0000
commitb7da7f83c356a0da54390d15a2f066f64b33d5e8 (patch)
treefe3f555403d4e3315cd22e62cb036c4966f91236 /helix-lsp/src
parent9821c4dd3b41d4e1ad07208e3c65b5cb96b7ecec (diff)
lsp: Test changeset_to_changes.
Diffstat (limited to 'helix-lsp/src')
-rw-r--r--helix-lsp/src/client.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/helix-lsp/src/client.rs b/helix-lsp/src/client.rs
index ebfdafe7..c035dd4f 100644
--- a/helix-lsp/src/client.rs
+++ b/helix-lsp/src/client.rs
@@ -247,7 +247,7 @@ impl Client {
.await
}
- fn changeset_to_changes(
+ pub fn changeset_to_changes(
old_text: &Rope,
changeset: &ChangeSet,
) -> Vec<lsp::TextDocumentContentChangeEvent> {