From bb63ee958a734ad56391d224ee1284476ec41c4d Mon Sep 17 00:00:00 2001 From: Pascal Kuthe Date: Tue, 9 Apr 2024 23:12:34 +0200 Subject: [PATCH] Update helix-term/src/ui/document.rs Co-authored-by: Michael Davis --- helix-term/src/ui/document.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/helix-term/src/ui/document.rs b/helix-term/src/ui/document.rs index b3f2e1b81b4d0..e0a42b64908f9 100644 --- a/helix-term/src/ui/document.rs +++ b/helix-term/src/ui/document.rs @@ -35,9 +35,9 @@ impl LineDecoration for F { #[derive(Debug, PartialEq, Eq, Clone, Copy)] enum StyleIterKind { - /// base highlights (usually emitted by TS), byte indecies (potentially not codepoint aligned) + /// base highlights (usually emitted by TS), byte indices (potentially not codepoint aligned) BaseHighlights, - /// overaly highlights (emitted by cumstom code from selections), char indecies + /// overlay highlights (emitted by custom code from selections), char indices Overlay, }