Skip to content

Commit

Permalink
zig: Improve indentation (zed-industries#14332)
Browse files Browse the repository at this point in the history
  • Loading branch information
notpeter authored Jul 12, 2024
1 parent ea26a01 commit 607ad6d
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions extensions/zig/languages/zig/indents.scm
Original file line number Diff line number Diff line change
Expand Up @@ -10,11 +10,9 @@
(TestDecl)
] @indent.begin

[
"}"
"]"
")"
] @indent.branch
(_ "[" "]" @end) @indent
(_ "{" "}" @end) @indent
(_ "(" ")" @end) @indent

[
(line_comment)
Expand Down

0 comments on commit 607ad6d

Please sign in to comment.