Skip to content
This repository was archived by the owner on May 28, 2025. It is now read-only.

Commit 36cb518

Browse files
committed
internal: add typos.toml as typo white list
1 parent 42cb1a2 commit 36cb518

File tree

2 files changed

+56
-1
lines changed

2 files changed

+56
-1
lines changed

.typos.toml

Lines changed: 55 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,55 @@
1+
[default.extend-identifiers]
2+
makro = "makro"
3+
VisibilityExplicity = "VisibilityExplicity"
4+
impl_froms = "impl_froms"
5+
AnserStyle = "AnserStyle"
6+
explicity = "explicity"
7+
syntaxically = "syntaxically"
8+
datas = "datas"
9+
selfs = "selfs"
10+
TOOD = "TOOD"
11+
strustS = "strustS"
12+
new_function_with_generics_and_wheres = "new_function_with_generics_and_wheres"
13+
Defaul = "Defaul"
14+
nto = "nto"
15+
nknown = "nknown"
16+
ded = "ded"
17+
truct = "truct"
18+
inpu = "inpu"
19+
Convertable = "Convertable"
20+
substitude = "substitude"
21+
nner = "nner"
22+
Contro = "Contro"
23+
numbe = "numbe"
24+
MyUnio = "MyUnio"
25+
26+
[default.extend-words]
27+
anser = "anser"
28+
ba = "ba"
29+
fromed = "fromed"
30+
fo = "fo"
31+
trivias = "trivias"
32+
mmaped = "mmaped"
33+
mis = "mis"
34+
ket = "ket"
35+
foor = "foor"
36+
FPR = "FPR"
37+
mak = "mak"
38+
OT = "OT"
39+
raison = "raison"
40+
strat = "strat"
41+
unaccessable = "unaccessable"
42+
43+
[default]
44+
extend-ignore-re = [
45+
# ignore string which contains $x (x is a num), which use widely in test
46+
".*\\$\\d.*"
47+
]
48+
49+
[files]
50+
extend-exclude = [
51+
"*.json",
52+
"*.rast",
53+
"crates/parser/test_data/lexer/err/*",
54+
"bench_data/*",
55+
]

docs/dev/lsp-extensions.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -239,7 +239,7 @@ The primary goal of `onEnter` is to handle automatic indentation when opening a
239239
This is not yet implemented.
240240
The secondary goal is to handle fixing up syntax, like continuing doc strings and comments, and escaping `\n` in string literals.
241241

242-
As proper cursor positioning is raison-d'etat for `onEnter`, it uses `SnippetTextEdit`.
242+
As proper cursor positioning is raison d'être for `onEnter`, it uses `SnippetTextEdit`.
243243

244244
### Unresolved Question
245245

0 commit comments

Comments
 (0)