@@ -1,7 +1,15 @@
11use crate::{search, Selection};
22use ropey::RopeSlice;
33
4−pub const PAIRS: &[(char, char)] = &[('(', ')'), ('[', ']'), ('{', '}'), ('<', '>')];
4+pub const PAIRS: &[(char, char)] = &[
5+ ('(', ')'),
6+ ('[', ']'),
7+ ('{', '}'),
8+ ('<', '>'),
9+ ('«', '»'),
10+ ('「', '」'),
11+ ('(', ')'),
12+];
513
614/// Given any char in [PAIRS], return the open and closing chars. If not found in
715/// [PAIRS] return (ch, ch).