Fix auto pairs return wrong selection (#613)
This commit is contained in:
parent
7560af1211
commit
36095326d0
1 changed files with 1 additions and 0 deletions
|
@ -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…
Reference in a new issue