Mercurial > forks > helix
changeset 5808:059ddeae318e
Add curly single and double quotes to BRACKETS (#10971)
author | adiabatic <adiabatic@users.noreply.github.com> |
---|---|
date | Tue, 18 Jun 2024 01:40:19 -0700 |
parents | a8c68609e9a3 |
children | 00d17ab66cd8 |
files | helix-core/src/match_brackets.rs |
diffstat | 1 files changed, 3 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/helix-core/src/match_brackets.rs Tue Jun 18 10:39:56 2024 +0200 +++ b/helix-core/src/match_brackets.rs Tue Jun 18 01:40:19 2024 -0700 @@ -9,11 +9,13 @@ const MAX_PLAINTEXT_SCAN: usize = 10000; const MATCH_LIMIT: usize = 16; -pub const BRACKETS: [(char, char); 7] = [ +pub const BRACKETS: [(char, char); 9] = [ ('(', ')'), ('{', '}'), ('[', ']'), ('<', '>'), + ('‘', '’'), + ('“', '”'), ('«', '»'), ('「', '」'), ('(', ')'),