Skip to content

Commit

Permalink
Add curly single and double quotes to BRACKETS
Browse files Browse the repository at this point in the history
  • Loading branch information
adiabatic committed Jun 16, 2024
1 parent dbacaad commit f044e32
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion helix-core/src/match_brackets.rs
Original file line number Diff line number Diff line change
Expand Up @@ -9,11 +9,13 @@ use crate::Syntax;
const MAX_PLAINTEXT_SCAN: usize = 10000;
const MATCH_LIMIT: usize = 16;

pub const BRACKETS: [(char, char); 7] = [
pub const BRACKETS: [(char, char); 9] = [
('(', ')'),
('{', '}'),
('[', ']'),
('<', '>'),
('‘', '’'),
('“', '”'),
('«', '»'),
('「', '」'),
('(', ')'),
Expand Down

0 comments on commit f044e32

Please sign in to comment.