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

Be able to use word at cursor in treesitter query #14

Merged
merged 2 commits into from
Dec 12, 2022
Merged

Be able to use word at cursor in treesitter query #14

merged 2 commits into from
Dec 12, 2022

Conversation

desdic
Copy link
Contributor

@desdic desdic commented Dec 12, 2022

In some queries it would be nice if I could use the word under the cursor as a variable

@ziontee113
Copy link
Owner

Hi @desdic , thank you for the PR. Can you please add some documentation on how to configure / use this new feature? Thank you very much.

@desdic
Copy link
Contributor Author

desdic commented Dec 12, 2022

Sure I'll add some examples on it later today :)

@desdic
Copy link
Contributor Author

desdic commented Dec 12, 2022

I have added documentation and a example under the lua example :)

@ziontee113 ziontee113 merged commit 208f547 into ziontee113:master Dec 12, 2022
@ziontee113
Copy link
Owner

Thank you @desdic. Very interesting feature idea 👍

@desdic desdic deleted the cursorword branch December 15, 2022 10:08
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