aboutsummaryrefslogtreecommitdiff
path: root/helix-view
diff options
context:
space:
mode:
authorJakub Bartodziej2021-06-03 13:44:16 +0000
committerBlaž Hrastnik2021-06-03 14:23:23 +0000
commit3c5dfb0633e5e5b64c78cb1c2e96291ef23e08d0 (patch)
tree0abc42e0512370468f42b1f71e1e0670e2e9268f /helix-view
parent6cbc0aea926248f029ab3868d5ed9b8d5a4f207f (diff)
Improve on the fix for deleting from the end of the buffer.
Diffstat (limited to 'helix-view')
-rw-r--r--helix-view/src/document.rs4
1 files changed, 0 insertions, 4 deletions
diff --git a/helix-view/src/document.rs b/helix-view/src/document.rs
index c41b78ad..3a3b9390 100644
--- a/helix-view/src/document.rs
+++ b/helix-view/src/document.rs
@@ -494,10 +494,6 @@ impl Document {
pub fn versioned_identifier(&self) -> lsp::VersionedTextDocumentIdentifier {
lsp::VersionedTextDocumentIdentifier::new(self.url().unwrap(), self.version)
}
-
- pub fn empty(&self) -> bool {
- self.text == "\n"
- }
}
#[cfg(test)]