Auto-format works really well for me, for the most part. But this is driving me a little nuts.
For reference, this is what I expect:
pub const palettes = [_]Palette{
Palette{ .fg = rl.Color.black, .bg = rl.Color.white },
Palette{ .fg = rl.Color.white, .bg = rl.Color.black },
Palette{ .fg = rl.Color.dark_purple, .bg = rl.Color.orange },
Palette{ .fg = rl.Color.orange, .bg = rl.Color.dark_purple }
};
Any way to prevent ZLS from formatting arrays in a huge line like this?
pub const palettes = [_]Palette{ Palette{ .fg = rl.Color.black, .bg = rl.Color.white }, Palette{ .fg = rl.Color.white, .bg = rl.Color.black }, Palette{ .fg = rl.Color.dark_purple, .bg = rl.Color.orange }, Palette{ .fg = rl.Color.orange, .bg = rl.Color.dark_purple } };