diff options
| author | Amaan Qureshi <amaanq12@gmail.com> | 2024-03-26 21:23:03 -0400 |
|---|---|---|
| committer | Amaan Qureshi <amaanq12@gmail.com> | 2024-03-26 22:34:53 -0400 |
| commit | 3d473a4d5da377782fca014e06b47877fc453180 (patch) | |
| tree | 7c4fcccb7f3d15f89961a7ce842d43bf40dd3e57 /queries/rust | |
| parent | feat(markdown): yaml, toml metadata highlights (#6360) (diff) | |
| download | nvim-treesitter-3d473a4d5da377782fca014e06b47877fc453180.tar nvim-treesitter-3d473a4d5da377782fca014e06b47877fc453180.tar.gz nvim-treesitter-3d473a4d5da377782fca014e06b47877fc453180.tar.bz2 nvim-treesitter-3d473a4d5da377782fca014e06b47877fc453180.tar.lz nvim-treesitter-3d473a4d5da377782fca014e06b47877fc453180.tar.xz nvim-treesitter-3d473a4d5da377782fca014e06b47877fc453180.tar.zst nvim-treesitter-3d473a4d5da377782fca014e06b47877fc453180.zip | |
fix(rust): indentation in tuple struct patterns
Diffstat (limited to 'queries/rust')
| -rw-r--r-- | queries/rust/indents.scm | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/queries/rust/indents.scm b/queries/rust/indents.scm index d56a246c6..3fa7e7731 100644 --- a/queries/rust/indents.scm +++ b/queries/rust/indents.scm @@ -6,6 +6,7 @@ (for_expression) (struct_expression) (struct_pattern) + (tuple_struct_pattern) (tuple_expression) (match_block) (call_expression) @@ -81,6 +82,9 @@ (struct_pattern "}" @indent.end) +(tuple_struct_pattern + ")" @indent.end) + (trait_item body: (declaration_list "}" @indent.end)) |
