Skip to content

Commit e115ba3

Browse files
[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
1 parent 595ffff commit e115ba3

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

jacow.typ

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -133,7 +133,9 @@
133133
words += txt.matches(regex("()(\\w{4,})")) // words with 4+ letters
134134
for m in words {
135135
let (pre, word) = m.captures
136-
word = upper(word.codepoints().at(0)) + word.codepoints().slice(1).join("")
136+
word = (
137+
upper(word.codepoints().at(0)) + word.codepoints().slice(1).join("")
138+
)
137139
txt = txt.slice(0, m.start) + pre + word + txt.slice(m.end)
138140
}
139141
txt

0 commit comments

Comments
 (0)