We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
tree-sitter --version
tree-sitter 0.24.3 (bdfe32402e85673bbc693216f0a6ef72c98bb665)
asyncapi: 2.4.0 info: version: '1.0.0' title: Something # Badly indented
On following fixture, in tree-sitter-playground, we can see that the error is ported from the end of previous line:
https://tree-sitter.github.io/tree-sitter/playground
I would expect the error be generated only for line 4. The parser is kind of greedy and includes the new line from line 3 into the error as well.
ERROR [3, 0] - [3, 36]
No response
The text was updated successfully, but these errors were encountered:
I think this particular behaviour makes sense.
Sorry, something went wrong.
No branches or pull requests
Did you check existing issues?
Tree-Sitter CLI Version, if relevant (output of
tree-sitter --version
)tree-sitter 0.24.3 (bdfe32402e85673bbc693216f0a6ef72c98bb665)
Describe the bug
On following fixture, in tree-sitter-playground, we can see that the error is ported from the end of previous line:
Steps To Reproduce/Bad Parse Tree
https://tree-sitter.github.io/tree-sitter/playground
Expected Behavior/Parse Tree
I would expect the error be generated only for line 4. The parser is kind of greedy and includes the new line from line 3 into the error as well.
Repro
No response
The text was updated successfully, but these errors were encountered: