fix(proofing): use macOS NSSpellChecker for spelling on macOS

The bundled Hunspell dictionary (~49k SCOWL roots) lacked common words like
"cybersecurity", "scalable", and "assistantship", and checked words inside
URLs. On macOS, spelling now uses the system NSSpellChecker (same engine as
TextEdit/Safari): far better vocabulary, skips URLs, and respects words the
user has taught macOS. The custom/tech dictionaries and Harper grammar are
unchanged; non-macOS builds keep the Hunspell fallback.
This commit is contained in:
pj committed 2026-07-13 20:27:58 +05:30
1 parent 4975e76358
commit f11ddd290f
5 files changed
+138 -5

No files matched your search

+2
View File
@@ -2,6 +2,8 @@ mod epub;
mod fonts;
mod gdrive;
mod library;
#[cfg(target_os = "macos")]
mod macspell;
mod pdf;
mod project;
mod proofing;