Skip to content

Commit

Permalink
Add curly single and double quotes to BRACKETS (helix-editor#10971)
Browse files Browse the repository at this point in the history
  • Loading branch information
adiabatic committed Jun 18, 2024
1 parent afe9049 commit 69acf66
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 69acf66

Please sign in to comment.