mirror of
https://github.com/rust-lang/rust.git
synced 2024-10-31 22:41:50 +00:00
internal: add typos.toml as typo white list
This commit is contained in:
parent
42cb1a2bd7
commit
36cb518791
55
.typos.toml
Normal file
55
.typos.toml
Normal file
@ -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/*",
|
||||
]
|
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user