nvim-treesitter/tests/indent/rust/macro.rs
Munif Tanjim baf94219aa feat: improve indent module
get_node_at_line should return appropriate child if available
2022-01-21 10:51:51 +01:00

13 lines
168 B
Rust

macro_rules! foo {
($a:ident, $b:ident, $c:ident) => {
struct $a;
struct $b;
};
($a:ident) => {
struct $a;
};
}
foo! {
A
}