Closed anosillus closed 2 years ago
Unintended processing is occurring in this process.
lines
value is below
['sentence: { start: { line: 1, column: 0 }, end: { line: 1, column: 16 } }', '{"messages":[{"type":"lint","ruleId":"en-capitalization","message":"Paragraph: Follow the standard capitalization rules for American English.\nSee https://owl.english.purdue.edu/owl/resource/592/01/", index":0,"line":1,"column":1,"range":[0,1],"loc":{"start":{"line":1,"column":1},"end":{"line":1,"column":2}},"severity":2,"fix":{"range":[0,2],"text":"My"}}, "{"type":"lint","ruleId":"ginger","message":"my -> My","index":0,"line":1,"column":1,"range":[0,1],"loc":{"start":{"line":1,"column":1},"end":{"line":1,"column":2}},"severity":2,"fix":{"range":[0,2],"text":"My"}}']
Vim cann't decode lines
inside ale#util#FuzzyJSONDecode
. Because lines
is broken json.
Thus, res
receives the value {'messages': []}
, an empty value, and no error message is displayed.
Please ignore this issue, maybe this error isn't reproductive.
Information
VIM version
NVIM v0.7.2 Build type: Release
Dependency textlint 12.2.1 textlint-rule-en-capitalization 2.0.3-1
Operating System Arch Linux 5.18.13-arch1-1
What went wrong
Textlint output is not displayed. Textlint itself working, but the linter stdin output parser isn't working.
Reproducing the bug
textlint
andtextlint-rule-en-capitalization
and turn on ale-texltint settings.echo my pet is a cat. > hoge.txt
)textlint result (in commnand line)
command
textlint --rule en-capitalization -f json cat.txt
outputALEInfo