Skip to content

armgit / zed

Public Imported from GitHub
0

Code at the speed of thought – Zed is a high-performance, multiplayer code editor from the creators of Atom and Tree-sitter.

Fix typos configuration (#6877)

Viktor Szépe9d6414b0ccbe
diff --git a/.github/ISSUE_TEMPLATE/config.yml b/.github/ISSUE_TEMPLATE/config.yml
index b5ea0d47fac..2c6cc0b0ea9 100644
--- a/.github/ISSUE_TEMPLATE/config.yml
+++ b/.github/ISSUE_TEMPLATE/config.yml
@@ -5,6 +5,6 @@ contact_links:
- name: Platform Support
url: https://github.com/zed-industries/zed/issues/5391
about: A quick note on platform support
- - name: Postive Feedback
+ - name: Positive Feedback
url: https://github.com/zed-industries/zed/discussions/5397
about: A central location for kind words about Zed
diff --git a/typos.toml b/typos.toml
index 851dfc2d8e9..1f2349adbd6 100644
--- a/typos.toml
+++ b/typos.toml
@@ -1,21 +1,26 @@
[files]
ignore-files = true
+ignore-hidden = false
extend-exclude = [
+ ".git/",
# glsl isn't recognized by this tool
- "crates/zed/src/languages/glsl/*",
+ "crates/zed/src/languages/glsl/",
# File suffixes aren't typos
"assets/icons/file_icons/file_types.json",
# Not our typos
- "crates/live_kit_server/*",
+ "crates/live_kit_server/",
# Vim makes heavy use of partial typing tables
- "crates/vim/*",
+ "crates/vim/",
# Editor and file finder rely on partial typing and custom in-string syntax
"crates/file_finder/src/file_finder_tests.rs",
"crates/editor/src/editor_tests.rs",
- # :/
- "crates/collab/migrations/20231009181554_add_release_channel_to_rooms.sql",
]
[default]
-extend-ignore-re = ["ba"]
+extend-ignore-re = [
+ '"ba"',
+ ":ba\\|z",
+ # :/ crates/collab/migrations/20231009181554_add_release_channel_to_rooms.sql
+ "ADD COLUMN enviroment TEXT",
+]
check-filename = true