tree-sitter-cli icon indicating copy to clipboard operation
tree-sitter-cli copied to clipboard

Printing '\n' instead of actual newline in ambiguity errors

Open simonrepp opened this issue 6 years ago • 0 comments

Thanks for the growing documentation, gave me the nudge to give tree-sitter a spin! :)

I noticed that in ambiguity errors newlines are printed literally as newlines, any chance this could be easy to change into a masked '\n' instead? (might also apply for other whitespace like tabs) At first I didn't even realize it was printing my newlines and thought the reporting output was somehow garbled instead. :)

image18

Keep up the great work - the CLI workflow is really cool! :+1:

simonrepp avatar Jun 18 '18 14:06 simonrepp