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 # There are some names in the test data that are incorrectly flagged as typos.
28 "crates/git/test_data/blame_incremental_complex",
29 "crates/git/test_data/golden/blame_incremental_complex.json",
30 # We have some base64-encoded data that is incorrectly being flagged.
31 "crates/rpc/src/auth.rs",
32 # glsl isn't recognized by this tool.
33 "extensions/glsl/languages/glsl/",
34 # Protols is the name of the language server.
35 "extensions/proto/extension.toml",
36 "extensions/proto/src/language_servers/protols.rs",
37 # Windows likes its abbreviations.
38 "crates/gpui/src/platform/windows/directx_renderer.rs",
39 "crates/gpui/src/platform/windows/events.rs",
40 "crates/gpui/src/platform/windows/direct_write.rs",
41 "crates/gpui/src/platform/windows/window.rs",
42 # Some typos in the base mdBook CSS.
43 "docs/theme/css/",
44 # Spellcheck triggers on `|Fixe[sd]|` regex part.
45 "script/danger/dangerfile.ts",
46 # Eval examples for prompts and criteria
47 "crates/eval/src/examples/",
48 # File type extensions are not typos
49 "crates/zed/resources/windows/zed.iss",
50 # typos-cli doesn't understand our `vˇariable` markup
51 "crates/editor/src/hover_links.rs",
52 # typos-cli doesn't understand `setis` is intentional test case
53 "crates/editor/src/code_completion_tests.rs",
54 # Linux repository structure is not a valid text, hence we should not check it for typos
55 "crates/project_panel/benches/linux_repo_snapshot.txt",
56 # Some multibuffer test cases have word fragments that register as typos
57 "crates/multi_buffer/src/multi_buffer_tests.rs",
58 # Macos apis
59 "crates/gpui/src/platform/mac/dispatcher.rs",
60]
61
62[default]
63extend-ignore-re = [
64 'cl\[ist]',
65 '\[lan\]guage',
66 '"ba"',
67 "doas",
68 # ProtoLS crate with tree-sitter Protobuf grammar.
69 "protols",
70 # x11rb SelectionNotifyEvent struct field
71 "requestor",
72 # macOS version
73 "Big Sur",
74 # Not an actual typo but an intentionally invalid color, in `color_extractor`
75 "#fof",
76 # Stripped version of reserved keyword `type`
77 "typ",
78 # AMD GPU Services
79 "ags",
80 # AMD GPU Services
81 "AGS"
82]
83check-filename = true