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 authored and Schuyler Mortimer committed Jul 10, 2024
1 parent 5b61c5f commit 9b75c20
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 9b75c20

Please sign in to comment.