summaryrefslogtreecommitdiff
path: root/helix-core/src
diff options
context:
space:
mode:
Diffstat (limited to 'helix-core/src')
-rw-r--r--helix-core/src/surround.rs10
1 files changed, 9 insertions, 1 deletions
diff --git a/helix-core/src/surround.rs b/helix-core/src/surround.rs
index a629d2d3..07ef241c 100644
--- a/helix-core/src/surround.rs
+++ b/helix-core/src/surround.rs
@@ -1,7 +1,15 @@
use crate::{search, Selection};
use ropey::RopeSlice;
-pub const PAIRS: &[(char, char)] = &[('(', ')'), ('[', ']'), ('{', '}'), ('<', '>')];
+pub const PAIRS: &[(char, char)] = &[
+ ('(', ')'),
+ ('[', ']'),
+ ('{', '}'),
+ ('<', '>'),
+ ('«', '»'),
+ ('「', '」'),
+ ('(', ')'),
+];
/// Given any char in [PAIRS], return the open and closing chars. If not found in
/// [PAIRS] return (ch, ch).