1[files]
2ignore-files = true
3ignore-hidden = false
4extend-exclude = [
5 ".git/",
6
7 # Contributor names aren't typos.
8 ".mailmap",
9
10 # File suffixes aren't typos.
11 "crates/theme/src/icon_theme.rs",
12 "crates/extensions_ui/src/extension_suggest.rs",
13
14 # Some mock data is flagged as typos.
15 "crates/assistant_tools/src/web_search_tool.rs",
16
17 # Suppress false positives in database schema.
18 "crates/collab/migrations/20251208000000_test_schema.sql",
19
20 # Not our typos.
21 "crates/livekit_api/",
22 # Vim makes heavy use of partial typing tables.
23 "crates/vim/",
24 # Editor and file finder rely on partial typing and custom in-string syntax.
25 "crates/file_finder/src/file_finder_tests.rs",
26 "crates/editor/src/editor_tests.rs",
27 "crates/editor/src/edit_prediction_tests.rs",
28 # There are some names in the test data that are incorrectly flagged as typos.
29 "crates/git/test_data/blame_incremental_complex",
30 "crates/git/test_data/golden/blame_incremental_complex.json",
31 # We have some base64-encoded data that is incorrectly being flagged.
32 "crates/rpc/src/auth.rs",
33 # glsl isn't recognized by this tool.
34 "extensions/glsl/languages/glsl/",
35 # Protols is the name of the language server.
36 "extensions/proto/extension.toml",
37 "extensions/proto/src/language_servers/protols.rs",
38 # Windows likes its abbreviations.
39 "crates/gpui/src/platform/windows/directx_renderer.rs",
40 "crates/gpui/src/platform/windows/events.rs",
41 "crates/gpui/src/platform/windows/direct_write.rs",
42 "crates/gpui/src/platform/windows/window.rs",
43 # Some typos in the base mdBook CSS.
44 "docs/theme/css/",
45 # Spellcheck triggers on `|Fixe[sd]|` regex part.
46 "script/danger/dangerfile.ts",
47 # Eval examples for prompts and criteria
48 "crates/eval/src/examples/",
49 # File type extensions are not typos
50 "crates/zed/resources/windows/zed.iss",
51 # typos-cli doesn't understand our `vˇariable` markup
52 "crates/editor/src/hover_links.rs",
53 # typos-cli doesn't understand `setis` is intentional test case
54 "crates/editor/src/code_completion_tests.rs",
55 # Linux repository structure is not a valid text, hence we should not check it for typos
56 "crates/project_panel/benches/linux_repo_snapshot.txt",
57 # Some multibuffer test cases have word fragments that register as typos
58 "crates/multi_buffer/src/multi_buffer_tests.rs",
59 # Macos apis
60 "crates/gpui/src/platform/mac/dispatcher.rs",
61 # Tests contain partially incomplete words (by design)
62 "crates/edit_prediction_cli/src/split_commit.rs",
63]
64
65[default]
66extend-ignore-re = [
67 # PNG is a file format, not a typo
68 "PNG",
69 'cl\[ist]',
70 '\[lan\]guage',
71 '"ba"',
72 "doas",
73 # ProtoLS crate with tree-sitter Protobuf grammar.
74 "protols",
75 # x11rb SelectionNotifyEvent struct field
76 "requestor",
77 # macOS version
78 "Big Sur",
79 # Not an actual typo but an intentionally invalid color, in `color_extractor`
80 "#fof",
81 # Stripped version of reserved keyword `type`
82 "typ",
83 # AMD GPU Services
84 "ags",
85 # AMD GPU Services
86 "AGS"
87]
88check-filename = true