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

tsc-traverse-mapc doesn't forward DEPTH to FUNC when PROPS is fed nil #238

Open
nordlow opened this issue Aug 24, 2022 · 0 comments
Open

Comments

@nordlow
Copy link
Contributor

nordlow commented Aug 24, 2022

Afaict

defun tsc-traverse-mapc (func tree-or-node &optional props)

lacks the ability to pass depth when props is to false.

Could you please modify the parameters of tsc-traverse-mapc so that an optional DEPTH parameter is passed to the FUNC when PROPS is set to nil in the call to tsc-traverse-mapc?

I need both the node and depth to enhance tree-sitter-debug output.

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

No branches or pull requests

1 participant