"Nevermind" in bare sentence flagged as a spelling error with gramatically incorrect suggestions.

Open
#5,102 0 comments 0 reactions 0 assignees View on GitHub

Maintainers usually reply within 1 day

Nobody has claimed this yet.

Assessment

Difficulty
3/5
Estimated time
1-2 days
Newbie friendliness
57/100
Issue type
Bug
Clarity
Mostly clear
Activity status
Active
Tech stack
rust
Domain
tooling

Research direction

Start by tracing how Harper's spell checker handles “Nevermind” and generates spelling suggestions; the issue does not name a file or test. Check existing tests for spelling or word spacing, then add coverage for the reported sentence and verify suggestions include a spaced or hyphenated form. Done means the false spelling flag or its suggestions are corrected, including the reported punctuation concern.

Written by the indexing model from the issue text.

Description

bug false-positive harper-core linting

What got flagged?

Nevermind. That friend got their scholarship invitation.

The word Nevermind is flagged as a spelling error via SpellCheck

None of the suggestions suggest hyphenating/spacing the word instead.

Code actions:
1: Replace with: “Nevermore”
2: Replace with: “Determine”
3: Replace with: “Reverend”                                                                                      
4: Ignore Harper error.                                                                                          
5: Add "Nevermind" to the user dictionary.                                                                       
6: Add "Nevermind" to the workspace dictionary.                                                                  
7: Add "Nevermind" to the file dictionary. Type number and <Enter> or click with the mouse (q or empty cancels): 

Why is this incorrect?

"Nevermind" is a contraction of Never mind. It should be suggested as a hyphenation/spacing error. Additionally, Never mind, would be better (with the comma) instead of Nevermind.

Example of correct usage

" I have a hard enough time getting out of bed before sunrise, never mind getting to work so early. "

Dominant language
Rust
Stars
18.1k
Forks
870
Avg merge
2d 7h
Merged PRs (30d)
148

Getting set up

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from Automattic/harper

All issues in Automattic/harper

Similar issues

More Rust issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.