diff --git a/helix-core/src/auto_pairs.rs b/helix-core/src/auto_pairs.rs index d9569acd..9b901e9b 100644 --- a/helix-core/src/auto_pairs.rs +++ b/helix-core/src/auto_pairs.rs @@ -84,6 +84,7 @@ fn handle_open( match next { Some(ch) if !close_before.contains(ch) => { + offs += 1; // TODO: else return (use default handler that inserts open) (pos, pos, Some(Tendril::from_char(open))) }