From 9f99fb8dfe87b8a3441863fb2e5d5da88a2aa9a2 Mon Sep 17 00:00:00 2001 From: Ed Page Date: Mon, 17 Nov 2025 10:07:09 -0600 Subject: [PATCH] docs(ref): Clarify extend-words / extend-identifiers --- docs/reference.md | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/docs/reference.md b/docs/reference.md index 1828e739..657233c8 100644 --- a/docs/reference.md +++ b/docs/reference.md @@ -38,8 +38,10 @@ extend-ignore-identifiers-re = [] extend-ignore-words = [] [default.extend-words] +# = "" [default.extend-identifiers] +# = "" [type.NAME] extend-glob = [] @@ -179,7 +181,9 @@ Custom uncorrectable sections (e.g. markdown code fences, PGP signatures, etc) - Type: table of strings -Corrections for [identifiers](./design.md#identifiers-and-words). When the correction is blank, the identifier is never valid. When the correction is the key, the identifier is always valid. +Map [identifier](./design.md#identifiers-and-words) typos to their corrections. +When the correction is blank, the identifier is never valid. +When the correction is the key, the identifier is always valid. Example: ```toml @@ -201,7 +205,9 @@ Pattern-match always-valid identifiers. - Type: table of strings -Corrections for [words](./design.md#identifiers-and-words). When the correction is blank, the word is never valid. When the correction is the key, the word is always valid. +Map [word](./design.md#identifiers-and-words) typos to their corrections. +When the correction is blank, the word is never valid. +When the correction is the key, the word is always valid. Example: ```toml