Automattic / Automattic/harper
Bug: ignore comments are ignored when above or after a line
- Dominant language
- Rust
- Stars
- 15.4k
- Forks
- 627
- Avg merge
- 1d 15h
- Merged PRs (30d)
- 102
Description
**Describe the bug**
ignore comments are ignored when above or after a line:
The only place they are not ignored is at the *start* of a line. However, those apparently result in making some markdown syntax invalid, as you can see with the bold not being applied in the above example.
See also the markdown-to-html conversion result of pandoc:
**To Reproduce**
```md
**typoo**
**typoo**
**typoo**
```
**Expected behavior**
ignore comments should work
**Platform**
LSP in nvim
**Additional context**
I tried all the comments mentioned here, but none of them seem to work: https://writewithharper.com/docs/integrations/language-server#Ignore-Comments
Contributor guide
Research direction
Start with the LSP in nvim and reproduce the three Markdown examples from the issue, checking how each ignore comment position is interpreted. Done means ignore comments suppress the reported typo above, after, and before inline text without disabling surrounding Markdown formatting.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- neovim, rust
- Domain
- tooling
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Quiet
- Clarity
- Mostly clear
- Newbie friendliness
- 62/100