Add curly single and double quotes to BRACKETS (#10971)

pull/10989/head
adiabatic 2024-06-18 01:40:19 -07:00 committed by GitHub
parent afe9049a0e
commit 69acf66cd8
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 3 additions and 1 deletions

View File

@ -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] = [
('(', ')'),
('{', '}'),
('[', ']'),
('<', '>'),
('', ''),
('“', '”'),
('«', '»'),
('「', '」'),
('', ''),