From 1653389b5744606e04838cdede310ea76fba31f9 Mon Sep 17 00:00:00 2001 From: Yuan Fu Date: Thu, 9 Nov 2023 20:09:06 -0800 Subject: [PATCH] Add shortdoc for treesit-node-get --- lisp/treesit.el | 3 +++ 1 file changed, 3 insertions(+) diff --git a/lisp/treesit.el b/lisp/treesit.el index 3555396390d..e1fcf1a8b04 100644 --- a/lisp/treesit.el +++ b/lisp/treesit.el @@ -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-parent :no-eval (treesit-node-parent node) :eg-result-string "#") -- 2.39.5