Skip to content
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 several nodes to better support textobject queries #6

Merged
merged 4 commits into from Apr 25, 2023

Conversation

mfelsche
Copy link
Collaborator

@mfelsche mfelsche commented Apr 19, 2023

  • Needed call arguments for proper textobject queries for call arguments.
  • The special builtin __loc was missing an only detected as an identifier. Now it can be highlighted as a builtin variable.
  • Add a node for named_argument to catch the name and the value
  • Added a node for all members to support @class.inside captures.

@mfelsche mfelsche changed the title Add __loc node and a separate node for call arguments Add several nodes to better support textobject queries Apr 20, 2023
@mfelsche
Copy link
Collaborator Author

@amaanq I did the rewording in my fork. Whenever you are ready, lets do the 0.3 thing

mfelsche and others added 4 commits April 25, 2023 09:23
This is mainly for being able to select the arguments for textobject queries.
This is for properly supporting textobject queries
@amaanq amaanq merged commit 5fd795a into tree-sitter-grammars:master Apr 25, 2023
4 checks passed
@mfelsche mfelsche deleted the loc-arguments branch April 25, 2023 13:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants