diff options
| author | Munif Tanjim <hello@muniftanjim.dev> | 2022-01-17 04:44:01 +0600 |
|---|---|---|
| committer | Christian Clason <christian.clason@uni-due.de> | 2022-01-21 10:51:51 +0100 |
| commit | baf94219aae2ec2893c197f17e2eb36789b6a1d7 (patch) | |
| tree | b8ac5b17935a5b9f1bd8538ddd8b97a606e69892 /tests/indent/rust/macro.rs | |
| parent | Update README (diff) | |
| download | nvim-treesitter-baf94219aae2ec2893c197f17e2eb36789b6a1d7.tar nvim-treesitter-baf94219aae2ec2893c197f17e2eb36789b6a1d7.tar.gz nvim-treesitter-baf94219aae2ec2893c197f17e2eb36789b6a1d7.tar.bz2 nvim-treesitter-baf94219aae2ec2893c197f17e2eb36789b6a1d7.tar.lz nvim-treesitter-baf94219aae2ec2893c197f17e2eb36789b6a1d7.tar.xz nvim-treesitter-baf94219aae2ec2893c197f17e2eb36789b6a1d7.tar.zst nvim-treesitter-baf94219aae2ec2893c197f17e2eb36789b6a1d7.zip | |
feat: improve indent module
get_node_at_line should return appropriate child if available
Diffstat (limited to 'tests/indent/rust/macro.rs')
| -rw-r--r-- | tests/indent/rust/macro.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/indent/rust/macro.rs b/tests/indent/rust/macro.rs index 608e157fc..0900f4c12 100644 --- a/tests/indent/rust/macro.rs +++ b/tests/indent/rust/macro.rs @@ -2,10 +2,10 @@ macro_rules! foo { ($a:ident, $b:ident, $c:ident) => { struct $a; struct $b; - }, + }; ($a:ident) => { struct $a; - }, + }; } foo! { |
