Skip to content

Commit

Permalink
More sensible ordering of brackets in search
Browse files Browse the repository at this point in the history
  • Loading branch information
WGUNDERWOOD committed Sep 27, 2024
1 parent e340d8f commit 444096f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/indent.rs
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,9 @@ use core::cmp::max;
use log::Level::{Trace, Warn};

/// Opening delimiters
const OPENS: [char; 3] = ['(', '[', '{'];
const OPENS: [char; 3] = ['{', '(', '['];
/// Closing delimiters
const CLOSES: [char; 3] = [')', ']', '}'];
const CLOSES: [char; 3] = ['}', ')', ']'];

/// Information on the indentation state of a line
#[derive(Debug, Clone)]
Expand Down

0 comments on commit 444096f

Please sign in to comment.