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

This commit is contained in:
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

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