New issue
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
TreeSitter highlighting for response #366
Comments
It is not possible due to the nature of the results buffer content, at least not without introducing breaking changes and more complexity. |
could you elaborate what are the breaking changes? I just tested it locally by running |
Does the |
Good point, the second line gets falsely parsed as request. This would either need to be fixed in the parser, or perhaps we would need a separate parser (based on I haven't tested binary or image payload yet. |
I can start by adding some test cases in https://github.com/rest-nvim/tree-sitter-http and then we can decide how to proceed, what do you think? |
Sounds good to me, hope we can achieve something in the short term! |
Why does the response buffer use the
httpResult
filetype, nothttp
like the request buffer? I feel like it would be nicer to use the same TreeSitter parser for the response.The text was updated successfully, but these errors were encountered: