mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-16 02:10:15 -04:00
feat: improve indent module
get_node_at_line should return appropriate child if available
This commit is contained in:
parent
f048886f82
commit
baf94219aa
5 changed files with 38 additions and 11 deletions
|
|
@ -2,10 +2,10 @@ macro_rules! foo {
|
|||
($a:ident, $b:ident, $c:ident) => {
|
||||
struct $a;
|
||||
struct $b;
|
||||
},
|
||||
};
|
||||
($a:ident) => {
|
||||
struct $a;
|
||||
},
|
||||
};
|
||||
}
|
||||
|
||||
foo! {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue