Skip to content

Commit

Permalink
Support Luau compound //= operator
Browse files Browse the repository at this point in the history
Fixes #899
  • Loading branch information
JohnnyMorganz committed Nov 16, 2024
1 parent daa6c6e commit 3d4d07f
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/formatters/luau.rs
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,7 @@ pub fn format_compound_op(ctx: &Context, compound_op: &CompoundOp, shape: Shape)
PercentEqual = " %= ",
CaretEqual = " ^= ",
TwoDotsEqual = " ..= ",
DoubleSlashEqual = " //= ",
}, |other| panic!("unknown node {:?}", other))
}

Expand Down

0 comments on commit 3d4d07f

Please sign in to comment.