feat: improve indent module

get_node_at_line should return appropriate child if available
This commit is contained in:
Munif Tanjim 2022-01-17 04:44:01 +06:00 committed by Christian Clason
parent f048886f82
commit baf94219aa
5 changed files with 38 additions and 11 deletions

View file

@ -2,10 +2,10 @@ macro_rules! foo {
($a:ident, $b:ident, $c:ident) => {
struct $a;
struct $b;
},
};
($a:ident) => {
struct $a;
},
};
}
foo! {