Change summary
crates/collab/src/tests/following_tests.rs | 7 ++++++-
crates/search/src/history.rs | 2 +-
typos.toml | 19 +++++++++++++++++++
3 files changed, 26 insertions(+), 2 deletions(-)
Detailed changes
@@ -1735,6 +1735,11 @@ async fn test_following_into_excluded_file(
vec![18..17]
);
+ editor_for_excluded_a.update(cx_a, |editor, cx| {
+ editor.select_right(&Default::default(), cx);
+ });
+ executor.run_until_parked();
+
// Changes from B to the excluded file are replicated in A's editor
editor_for_excluded_b.update(cx_b, |editor, cx| {
editor.handle_input("\nCo-Authored-By: B <b@b.b>", cx);
@@ -1743,7 +1748,7 @@ async fn test_following_into_excluded_file(
editor_for_excluded_a.update(cx_a, |editor, cx| {
assert_eq!(
editor.text(cx),
- "new commit messag\nCo-Authored-By: B <b@b.b>"
+ "new commit message\nCo-Authored-By: B <b@b.b>"
);
});
}
@@ -85,7 +85,7 @@ mod tests {
assert_eq!(
search_history.current(),
None,
- "No current selection should be set fo the default search history"
+ "No current selection should be set for the default search history"
);
search_history.add("rust".to_string());
@@ -0,0 +1,19 @@
+[files]
+ignore-files = true
+extend-exclude = [
+ # Vim makes heavy use of partial typing tables
+ "crates/vim/*",
+ # glsl isn't recognized by this tool
+ "crates/zed/src/languages/glsl/*",
+ # File suffixes aren't typos
+ "assets/icons/file_icons/file_types.json",
+ # :/
+ "crates/collab/migrations/20231009181554_add_release_channel_to_rooms.sql",
+ # Editor and file finder rely on partial typing and custom in-string syntax
+ "crates/file_finder/src/file_finder.rs",
+ "crates/editor/src/editor_tests.rs",
+]
+
+[default]
+extend-ignore-re = ["ba"]
+check-filename = true