aboutsummaryrefslogtreecommitdiff
path: root/helix-core
diff options
context:
space:
mode:
authorTriton1712022-12-29 15:23:40 +0000
committerGitHub2022-12-29 15:23:40 +0000
commit5f2fe5fca516fa2b55d3020004ab0cec60251e89 (patch)
treee5f446f1c5a567c90ba185dc319d2de2fb3a0e06 /helix-core
parent7ac72a39cbcaeda31c717418bde068f9bfc32d0e (diff)
Fix erroneous indent between closers of auto-pairs (#5330)
inserting a newline between 2 closers of an auto-pair.
Diffstat (limited to 'helix-core')
-rw-r--r--helix-core/src/auto_pairs.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/helix-core/src/auto_pairs.rs b/helix-core/src/auto_pairs.rs
index 072c93d0..31f9d364 100644
--- a/helix-core/src/auto_pairs.rs
+++ b/helix-core/src/auto_pairs.rs
@@ -17,7 +17,7 @@ pub const DEFAULT_PAIRS: &[(char, char)] = &[
];
/// The type that represents the collection of auto pairs,
-/// keyed by the opener.
+/// keyed by both opener and closer.
#[derive(Debug, Clone)]
pub struct AutoPairs(HashMap<char, Pair>);