ghostty/typos.toml
Jeffrey C. Ollie 5cd8ebdafd update zon2nix
Upstream is now mostly pure Zig and the build.zig.zon.* files are
generated directly by zon2nix. The JSON file is no longer used as an
intermediate file but is retained for downstream packager usage.
2025-03-16 01:09:52 -05:00

59 lines
951 B
TOML

[files]
extend-exclude = [
# Build
"build.zig.zon",
"build.zig.zon.nix",
"build.zig.zon.txt",
"build.zig.zon.json",
# vendored code
"vendor/*",
"pkg/*",
"src/stb/*",
# "grey" color names are valid
"src/terminal/res/rgb.txt",
# Do not self-check
"typos.toml",
# Fonts
"*.ttf",
"*.otf",
# Images
"*.png",
"*.ico",
"*.icns",
# Other
"*.pdf",
"*.data",
"*.xib",
"src/cli/lorem_ipsum.txt",
]
[default]
extend-ignore-re = [
# Ignore typos in test expectations
"testing\\.expect[^;]*;",
"kHOM\\d*",
]
[default.extend-words]
Pn = "Pn"
thr = "thr"
# Should be "halves", but for now skip it as it would make diff huge
halfs = "halfs"
# Swift oddities
Requestor = "Requestor"
iterm = "iterm"
ACCES = "ACCES"
wdth = "wdth"
Strat = "Strat"
grey = "gray"
greyscale = "grayscale"
DECID = "DECID"
flate = "flate"
[type.po]
extend-glob = ["*.po"]
check-file = false
[type.swift.extend-words]
inout = "inout"