Unnamed repository; edit this file 'description' to name the repository.
-rw-r--r--.typos.toml55
-rw-r--r--docs/dev/lsp-extensions.md2
2 files changed, 56 insertions, 1 deletions
diff --git a/.typos.toml b/.typos.toml
new file mode 100644
index 0000000000..b46fd902ac
--- /dev/null
+++ b/.typos.toml
@@ -0,0 +1,55 @@
+[default.extend-identifiers]
+makro = "makro"
+VisibilityExplicity = "VisibilityExplicity"
+impl_froms = "impl_froms"
+AnserStyle = "AnserStyle"
+explicity = "explicity"
+syntaxically = "syntaxically"
+datas = "datas"
+selfs = "selfs"
+TOOD = "TOOD"
+strustS = "strustS"
+new_function_with_generics_and_wheres = "new_function_with_generics_and_wheres"
+Defaul = "Defaul"
+nto = "nto"
+nknown = "nknown"
+ded = "ded"
+truct = "truct"
+inpu = "inpu"
+Convertable = "Convertable"
+substitude = "substitude"
+nner = "nner"
+Contro = "Contro"
+numbe = "numbe"
+MyUnio = "MyUnio"
+
+[default.extend-words]
+anser = "anser"
+ba = "ba"
+fromed = "fromed"
+fo = "fo"
+trivias = "trivias"
+mmaped = "mmaped"
+mis = "mis"
+ket = "ket"
+foor = "foor"
+FPR = "FPR"
+mak = "mak"
+OT = "OT"
+raison = "raison"
+strat = "strat"
+unaccessable = "unaccessable"
+
+[default]
+extend-ignore-re = [
+ # ignore string which contains $x (x is a num), which use widely in test
+ ".*\\$\\d.*"
+]
+
+[files]
+extend-exclude = [
+ "*.json",
+ "*.rast",
+ "crates/parser/test_data/lexer/err/*",
+ "bench_data/*",
+]
diff --git a/docs/dev/lsp-extensions.md b/docs/dev/lsp-extensions.md
index 3251dd7526..b5e3842dd2 100644
--- a/docs/dev/lsp-extensions.md
+++ b/docs/dev/lsp-extensions.md
@@ -239,7 +239,7 @@ The primary goal of `onEnter` is to handle automatic indentation when opening a
This is not yet implemented.
The secondary goal is to handle fixing up syntax, like continuing doc strings and comments, and escaping `\n` in string literals.
-As proper cursor positioning is raison-d'etat for `onEnter`, it uses `SnippetTextEdit`.
+As proper cursor positioning is raison d'ĂȘtre for `onEnter`, it uses `SnippetTextEdit`.
### Unresolved Question