mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-07-07 21:25:37 +00:00
Ignore ast id hashes in typos check
This commit is contained in:
parent
0a1a78cb87
commit
09a66474a2
1 changed files with 1 additions and 0 deletions
|
@ -18,6 +18,7 @@ extend-ignore-re = [
|
||||||
"INOUT",
|
"INOUT",
|
||||||
"optin",
|
"optin",
|
||||||
"=Pn",
|
"=Pn",
|
||||||
|
"\\[[0-9A-F]{4},", # AstId hex hashes
|
||||||
# ignore `// spellchecker:off` until `// spellchecker:on`
|
# ignore `// spellchecker:off` until `// spellchecker:on`
|
||||||
"(?s)(#|//)\\s*spellchecker:off.*?\\n\\s*(#|//)\\s*spellchecker:on",
|
"(?s)(#|//)\\s*spellchecker:off.*?\\n\\s*(#|//)\\s*spellchecker:on",
|
||||||
]
|
]
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue