aboutsummaryrefslogtreecommitdiff
path: root/src/formatter/formatter.c
diff options
context:
space:
mode:
authorBruce Hill <bruce@bruce-hill.com>2025-09-21 20:51:24 -0400
committerBruce Hill <bruce@bruce-hill.com>2025-09-21 20:51:24 -0400
commitfa7a0ddc0963deb387f0cae7bb22ca968ee9146f (patch)
tree30caf6aec6ecc0581337b6507eb87ae508386f6e /src/formatter/formatter.c
parentb84e7c69ae52155c4902cf24b4f9bb86d65d5f9e (diff)
Fix formatter for tables
Diffstat (limited to 'src/formatter/formatter.c')
-rw-r--r--src/formatter/formatter.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/formatter/formatter.c b/src/formatter/formatter.c
index 0123282c..12f08810 100644
--- a/src/formatter/formatter.c
+++ b/src/formatter/formatter.c
@@ -635,7 +635,7 @@ Text_t format_code(ast_t *ast, Table_t comments, Text_t indent) {
/*multiline*/ case TableEntry: {
if (inlined_fits) return inlined;
DeclareMatch(entry, ast, TableEntry);
- return Texts(fmt(entry->key, comments, indent), "=", fmt(entry->value, comments, indent));
+ return Texts(fmt(entry->key, comments, indent), ": ", fmt(entry->value, comments, indent));
}
/*multiline*/ case Declare: {
if (inlined_fits) return inlined;