on master help sign in
TODO
commitc71c9f69e21a80c5c9c744bddbde7d5041da99a5 authorBlaž Hrastnik <blaz@mxxn.io> dateThu 7 Oct 2021, 10:26 (5 years ago) parent3017141
1 file changed+1
helix-term/src/ui/markdown.rs+1
helix-term/src/ui/markdown.rs+1
@@ -228,6 +228,7 @@ impl Component for Markdown {
228228 return None;
229229 }
230230 let contents = parse(&self.contents, None, &self.config_loader);
231+ // TODO: account for tab width
231232 let max_text_width = (viewport.0 - padding).min(120);
232233 let mut text_width = 0;
233234 let mut height = padding;