diff --git a/helix-core/src/surround.rs b/helix-core/src/surround.rs index a629d2d3d..07ef241c0 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).