Add shortdoc for treesit-node-get
This commit is contained in:
parent
9c9b87639f
commit
1653389b57
1 changed files with 3 additions and 0 deletions
|
@ -3573,6 +3573,9 @@ function signals an error."
|
|||
|
||||
|
||||
"Retrieving a node from another node"
|
||||
(treesit-node-get
|
||||
:no-eval (treesit-node-get node '((parent 1) (sibling 1) (text)))
|
||||
:eg-result-string "#<treesit-node (declaration) in 1-11>")
|
||||
(treesit-node-parent
|
||||
:no-eval (treesit-node-parent node)
|
||||
:eg-result-string "#<treesit-node (declaration) in 1-11>")
|
||||
|
|
Loading…
Add table
Reference in a new issue