-
-
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
Fix find entry via treesitter #124
Fix find entry via treesitter #124
Conversation
* upstream/main: chore(doc): auto generate docs
Lua index starts on 1 so we were accidentally returing the line range of the current node plus one line of the next node.
|
Apply Sweep Rules to your PR?
This is an automated message generated by Sweep AI. |
for more information, see https://pre-commit.ci
Thanks @hsanson 🙏 Let me try. |
* Fix HurlRunnterToEntry using treesitter (#116) * chore(doc): auto generate docs * chore(test): add API tests for dog breeds * Fix find entry via treesitter (#124) * Fix HurlRunnterToEntry using treesitter * chore(doc): auto generate docs * Fix find entry method returing two nodes range. Lua index starts on 1 so we were accidentally returing the line range of the current node plus one line of the next node. * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci --------- Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com> * refactor(http_utils): make find_hurl_entry_positions_in_buffer a module function --------- Co-authored-by: Horacio Sanson <[email protected]> Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
WHAT
Fix issue where the find entries method was returning two nodes instead of one.
WHY
HOW
Screenshots (if appropriate):
Types of changes
Checklist: