summaryrefslogtreecommitdiff
path: root/helix-term/src/application.rs
diff options
context:
space:
mode:
authorBlaž Hrastnik2021-03-18 06:23:42 +0000
committerBlaž Hrastnik2021-03-18 06:23:42 +0000
commite9bd9e72c3adf822ae569644dd87f4a5e04df18e (patch)
tree9babbf9742c36aacaae3291d2d36e56c5ae9a4a2 /helix-term/src/application.rs
parent175d38c88cf96dfb6744cb260abf2e8f5c1c48b9 (diff)
Pos conversions always operate on whole documents.
Diffstat (limited to 'helix-term/src/application.rs')
-rw-r--r--helix-term/src/application.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/helix-term/src/application.rs b/helix-term/src/application.rs
index ef33db16..48d7186f 100644
--- a/helix-term/src/application.rs
+++ b/helix-term/src/application.rs
@@ -134,7 +134,7 @@ impl Application {
.find(|view| view.doc.path() == path.as_ref());
if let Some(view) = view {
- let doc = view.doc.text().slice(..);
+ let doc = view.doc.text();
let diagnostics = params
.diagnostics
.into_iter()