-
-
Notifications
You must be signed in to change notification settings - Fork 15
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
Add treesitter support #103
Conversation
This PR uses treesitter hurl parser to locate the HURL entry at the current cursor position. This is more efficient and reliable than parsing based on HTTP verbs and allows executing HurlRunnerAt from any place as long as it is inside a HURL entry.
|
Apply Sweep Rules to your PR?
This is an automated message generated by Sweep AI. |
Thanks @hsanson for your PR. This looks good. I will take a try and merge this sometime this week. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM! Thanks @hsanson
@all-contributors add @hsanson for code,doc. |
I've put up a pull request to add @hsanson! 🎉 |
FYI - I've tested the run at entry and it doesn't work so I've reverted this util function. |
This PR uses treesitter hurl parser to locate the HURL entry at the current cursor position. This is more efficient and reliable than parsing based on HTTP verbs and allows executing HurlRunnerAt from any place as long as it is inside a HURL entry.