aboutsummaryrefslogtreecommitdiff
path: root/vendor/libghostty-vt/typos.toml
diff options
context:
space:
mode:
authorCan Celik <ogulcancelik@gmail.com>2026-04-04 19:22:04 +0300
committerCan Celik <ogulcancelik@gmail.com>2026-04-05 01:23:06 +0300
commit41dd733ca7123c9ac4bfc6c781697a660e95b052 (patch)
tree3fc91815ca139ef2e0b281bba0abda4ef15175f4 /vendor/libghostty-vt/typos.toml
parent55c138263e190a1e79d4b997bfb9397306c0ec1f (diff)
feat: finish ghostty pane backend integration
Diffstat (limited to 'vendor/libghostty-vt/typos.toml')
-rw-r--r--vendor/libghostty-vt/typos.toml85
1 files changed, 85 insertions, 0 deletions
diff --git a/vendor/libghostty-vt/typos.toml b/vendor/libghostty-vt/typos.toml
new file mode 100644
index 00000000..a2f4129c
--- /dev/null
+++ b/vendor/libghostty-vt/typos.toml
@@ -0,0 +1,85 @@
+[files]
+extend-exclude = [
+ # Build
+ "build.zig.zon",
+ "build.zig.zon.nix",
+ "build.zig.zon.txt",
+ "build.zig.zon.json",
+ # Build artifacts
+ "macos/build/*",
+ "zig-out/*",
+ # 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",
+ "*.bdf",
+ # Images
+ "*.png",
+ "*.ico",
+ "*.icns",
+ # Valgrind nonsense
+ "valgrind.supp",
+ # Fuzz corpus (binary test inputs)
+ "test/fuzz-libghostty/corpus/*",
+ # Other
+ "*.pdf",
+ "*.data",
+ "*.xib",
+ "src/cli/lorem_ipsum.txt",
+]
+
+[default]
+extend-ignore-re = [
+ # Ignore typos in test expectations
+ "testing\\.expect[^;]*;",
+ "kHOM\\d*",
+ # Ignore "typos" in sprite font draw fn names
+ "draw[0-9A-F]+(_[0-9A-F]+)?\\(",
+ # Ignore test data in src/input/paste.zig
+ "\"hel\\\\x",
+ # Ignore long hex-like IDs such as 815E26BA2EF1E00F005C67B1
+ "[0-9A-F]{12,}",
+ # Ignore base64-encoded strings
+ "[A-Za-z0-9+/]{8,}={0,2}",
+ # Ignore Apple four char codes
+ 'code="[A-Za-z]{4,8}"',
+ '"[A-Za-z]{4}"\.fourCharCode',
+]
+
+[default.extend-words]
+Pn = "Pn"
+thr = "thr"
+# Swift oddities
+Requestor = "Requestor"
+iterm = "iterm"
+ACCES = "ACCES"
+wdth = "wdth"
+Strat = "Strat"
+grey = "gray"
+greyscale = "grayscale"
+DECID = "DECID"
+flate = "flate"
+typ = "typ"
+kend = "kend"
+# Tai Tham is a script/writing system
+Tham = "Tham"
+# GTK
+GIR = "GIR"
+# terminfo
+rin = "rin"
+# sprites
+ower = "ower"
+
+[type.po]
+extend-glob = ["*.po"]
+check-file = false
+
+[type.swift.extend-words]
+inout = "inout"