Fix auto pairs return wrong selection (#613)

imgbot
langbamit 3 years ago committed by GitHub
parent 7560af1211
commit 36095326d0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -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)))
}

Loading…
Cancel
Save