From 0c4445a732926a83338cd8f5bd2b13fcbd3cac1f Mon Sep 17 00:00:00 2001 From: Jonas Maier <> Date: Sat, 23 May 2026 16:31:38 +0200 Subject: partial strings now get syntax highlighting too --- src/parse/mod.rs | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/parse') diff --git a/src/parse/mod.rs b/src/parse/mod.rs index 8970fc3..5059311 100644 --- a/src/parse/mod.rs +++ b/src/parse/mod.rs @@ -924,6 +924,10 @@ impl Parse for ExpString { while !delim.try_end(b) { if !b.has() { if b.is_completion() { + b.highlights.push(Highlight { + span: begin.to(b.loc_u32()), + kind: HighlightKind::Other(OtherHighlights::String), + }); break 'outer; } else { return Err(ParseError::Eof); -- cgit v1.2.3