mirror of
https://github.com/helix-editor/helix.git
synced 2025-04-03 19:07:44 +03:00
fix match bracket matching (#10777)
This commit is contained in:
parent
889bbefeb3
commit
2301430e37
2 changed files with 18 additions and 2 deletions
|
@ -895,6 +895,22 @@ async fn match_bracket() -> anyhow::Result<()> {
|
|||
}
|
||||
"##},
|
||||
),
|
||||
// named node with 2 or more children
|
||||
(
|
||||
indoc! {r##"
|
||||
use a::#[{|]#
|
||||
b::{c, d, e, f, g},
|
||||
h, i, j, k, l, m, n,
|
||||
};
|
||||
"##},
|
||||
"mm",
|
||||
indoc! {r##"
|
||||
use a::{
|
||||
b::{c, d, e, f, g},
|
||||
h, i, j, k, l, m, n,
|
||||
#[}|]#;
|
||||
"##},
|
||||
),
|
||||
];
|
||||
|
||||
let python_tests = vec![
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue