aboutsummaryrefslogtreecommitdiff
path: root/src/formatter/formatter.c
diff options
context:
space:
mode:
authorBruce Hill <bruce@bruce-hill.com>2025-09-09 20:09:53 -0400
committerBruce Hill <bruce@bruce-hill.com>2025-09-09 20:09:53 -0400
commitb4f2d03db2cd20688d6bb537904998e997bc48aa (patch)
tree380ce33e0ce1b7fa3ce7c88b5ca59a84b58f4821 /src/formatter/formatter.c
parentd8a48f64111f542f3afeb5d6e47ff092f9278d9f (diff)
parentd64dcab138a34d5f5105e08f0a840f7cb5a1d159 (diff)
Merge branch 'main' into optional-list-indexingoptional-list-indexing
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 b68b3874..2c52aa63 100644
--- a/src/formatter/formatter.c
+++ b/src/formatter/formatter.c
@@ -54,7 +54,7 @@ PUREFUNC text_opts_t choose_text_options(ast_list_t *chunks) {
}
static bool starts_with_id(Text_t text) {
- List_t codepoints = Text$utf32_codepoints(Text$slice(text, I_small(1), I_small(1)));
+ List_t codepoints = Text$utf32(Text$slice(text, I_small(1), I_small(1)));
return uc_is_property_xid_continue(*(ucs4_t *)codepoints.data);
}