[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
feature/tree-sitter 74f8572f6c: ; * lisp/treesit.el (treesit-node-at): F
From: |
Yuan Fu |
Subject: |
feature/tree-sitter 74f8572f6c: ; * lisp/treesit.el (treesit-node-at): Fix typo. |
Date: |
Sat, 14 May 2022 11:57:43 -0400 (EDT) |
branch: feature/tree-sitter
commit 74f8572f6cfa846f2a86d5f775b6fc2bd47ad269
Author: Yuan Fu <casouri@gmail.com>
Commit: Yuan Fu <casouri@gmail.com>
; * lisp/treesit.el (treesit-node-at): Fix typo.
---
lisp/treesit.el | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/lisp/treesit.el b/lisp/treesit.el
index 1cfdab95ca..3313168d66 100644
--- a/lisp/treesit.el
+++ b/lisp/treesit.el
@@ -142,7 +142,7 @@ that language in the current buffer, and use that."
(let ((node (if (treesit-parser-p parser-or-lang)
(treesit-parser-root-node parser-or-lang)
(treesit-buffer-root-node parser-or-lang))))
- ;; TODO: We might want a `treesit-node-decendant-for-pos' in C.
+ ;; TODO: We might want a `treesit-node-descendant-for-pos' in C.
(while (cond ((and node (< (treesit-node-end node) point))
(setq node (treesit-node-next-sibling node))
t)
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- feature/tree-sitter 74f8572f6c: ; * lisp/treesit.el (treesit-node-at): Fix typo.,
Yuan Fu <=