Automattic / Automattic/harper
Harper thinks a `typst` function call is a sentence
- Dominant language
- Rust
- Stars
- 15.4k
- Forks
- 627
- Avg merge
- 1d 15h
- Merged PRs (30d)
- 102
Description
## Description
I don't know if this counts as a false positive or a bug so please correct me.
I use Typst and Harper for my thesis, which leads to me having the following in a Typst-file. The excerpt begins on line 1 (see provided screenshot). On `thesis.with(`, on line 3, Harper declares `thesis.typ|3 col 8 note| This sentence is 84 words long` though I'd call it a function call with separate strings that should count as separate sentences.
Is it only flagging a non-error or is a spurious fix also suggested?
Harper is not suggesting any fixes.
## Screenshots
If applicable, add screenshots to help explain the false positive.

Contributor guide
Research direction
Reproduce the report using the thesis.typ example, focusing on line 3, column 8 where Harper reports an 84-word sentence for thesis.with(. Compare that diagnostic with the separate strings described in the issue and determine the intended behavior for this function-call context. Done means the false positive is resolved or the behavior is clearly explained.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- rust
- Domain
- devtools
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100