diff options
Diffstat (limited to 'lisp/treesit.el')
-rw-r--r-- | lisp/treesit.el | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lisp/treesit.el b/lisp/treesit.el index 353a9bc12c1..74476f18619 100644 --- a/lisp/treesit.el +++ b/lisp/treesit.el @@ -1977,9 +1977,9 @@ in `treesit-parser-list'." collect node)) (largest-node (car (last node-list))) (parent (treesit-node-parent largest-node)) - ;; node-list-acending contains all the node bottom-up, then + ;; node-list-ascending contains all the node bottom-up, then ;; the parent. - (node-list-acending + (node-list-ascending (if (null largest-node) ;; If there are no nodes that start at point, just show ;; the node at point and its parent. @@ -1990,7 +1990,7 @@ in `treesit-parser-list'." (name "")) ;; We draw nodes like (parent field-name: (node)) recursively, ;; so it could be (node1 field-name: (node2 field-name: (node3))). - (dolist (node node-list-acending) + (dolist (node node-list-ascending) (setq name (concat |