textlint-plugin-latex2e
textlint-plugin-latex2e copied to clipboard
latex-utensils v4.x
https://github.com/tamuratak/latex-utensils/blob/v4.0.0/CHANGELOG.md#L8-L12
v4.x introduce softbreak, space, and Linebreak.
This will break our algorithms of parsing the output of latex-utensils.
refs #135
I reported the issue about why softbreak and space have no location information.
refs https://github.com/tamuratak/latex-utensils/issues/26
My suggestion that adds location information to softbreak and space is rejected by the maintainer.
The completeBlank function should take care of these properly, so we may simply ignore them.
Hmm..., we still need to maintain the completeBlank function but it is not so straightway to deal AST. We now are spending a large part of the code to complete the lacking information retrieved by latex-utensils. We have common sense reducing code lines is better to make no more bugs. Coulld we make monkey patch for latex-utensils. I guess this is better than completeBlank.