fix #2844 #3911; add --spellsuggest to suggest symbols in scope with similar spellings on undefined symbol error (#16067)

* add --spellsuggest to suggest symbols in scope with similar spellings on undefined symbol errors
* implement --spellsuggest with 0 arguments
This commit is contained in:
Timothee Cour 2021-03-16 02:41:30 -07:00 • committed by GitHub
commit 48eab5370a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
9 changed files with 178 additions and 32 deletions

View file

@ -261,6 +261,8 @@
- Deprecated `--nilseqs` which is now a noop.
- Added `--spellSuggest` to show spelling suggestions on typos.
- Source+Edit links now appear on top of every docgen'd page when
`nim doc --git.url:url ...` is given.