mirror of
https://github.com/ilyakooo0/helix.git
synced 2024-10-26 17:23:34 +03:00
Fix auto pairs return wrong selection (#613)
This commit is contained in:
parent
7560af1211
commit
36095326d0
@ -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 New Issue
Block a user