aboutsummaryrefslogtreecommitdiff
path: root/helix-core/src/doc_formatter.rs
diff options
context:
space:
mode:
authorPascal Kuthe2023-11-19 21:34:03 +0000
committerBlaž Hrastnik2024-03-23 06:35:25 +0000
commit69e07ab61e51598ba6e31bdd79608091fdbba254 (patch)
tree896d9d861dcb7875adbd6afe3c446f036ed078b3 /helix-core/src/doc_formatter.rs
parent68b21578ac4b5ded1a262469c6887794a689284f (diff)
use slices instead of Rc for virtual text
Diffstat (limited to 'helix-core/src/doc_formatter.rs')
-rw-r--r--helix-core/src/doc_formatter.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/helix-core/src/doc_formatter.rs b/helix-core/src/doc_formatter.rs
index c7dc9081..cbe2da3b 100644
--- a/helix-core/src/doc_formatter.rs
+++ b/helix-core/src/doc_formatter.rs
@@ -116,7 +116,7 @@ impl Default for TextFormat {
#[derive(Debug)]
pub struct DocumentFormatter<'t> {
text_fmt: &'t TextFormat,
- annotations: &'t TextAnnotations,
+ annotations: &'t TextAnnotations<'t>,
/// The visual position at the end of the last yielded word boundary
visual_pos: Position,