From 3d4d07fbe5afd3792be2907c5f029040a53d5122 Mon Sep 17 00:00:00 2001 From: JohnnyMorganz Date: Sat, 16 Nov 2024 20:28:56 +0100 Subject: [PATCH] Support Luau compound `//=` operator Fixes #899 --- src/formatters/luau.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/src/formatters/luau.rs b/src/formatters/luau.rs index 21a74ac9..b0189630 100644 --- a/src/formatters/luau.rs +++ b/src/formatters/luau.rs @@ -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)) }