elisp-tree-sitter
elisp-tree-sitter copied to clipboard
`tsc-traverse-mapc` doesn't forward DEPTH to FUNC when PROPS is fed nil
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.