drahnr / cargo-spellcheck

Checks all your documentation for spelling and grammar mistakes with hunspell and a nlprule based checker for grammar

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

block comments with prefix

drahnr opened this issue · comments

Is your feature request related to a particular use-case?

Currently block comments are not reflown, due the different styles used:

/**
 *
 *
 */

vs

/**


 */

and the broken variant

/**
 *
 *


 */

Describe the solution you'd like to implement/see implemented

The prefix should be detected, inconsistencies should be reported as separate errors with a suggestion (bonus).

Describe alternatives you've considered

Do not reflow or them. Spellchecking works decently, nlprule results are sub-optimal.