projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
be13e8f
)
; * lisp/treesit.el (treesit-node-on): Fix treesit-local-parsers-on.
author
Yuan Fu
<casouri@gmail.com>
Fri, 8 Sep 2023 00:44:32 +0000
(17:44 -0700)
committer
Yuan Fu
<casouri@gmail.com>
Fri, 8 Sep 2023 00:44:32 +0000
(17:44 -0700)
lisp/treesit.el
patch
|
blob
|
history
diff --git
a/lisp/treesit.el
b/lisp/treesit.el
index 266f6e6493bb8274092634d073721de96ef6c4da..57521a236e079564fdc70552b8a16a9d8e22a411 100644
(file)
--- a/
lisp/treesit.el
+++ b/
lisp/treesit.el
@@
-251,7
+251,7
@@
parser first."
(root (if (treesit-parser-p parser-or-lang)
(treesit-parser-root-node parser-or-lang)
(or (when-let ((parser
- (car (treesit-local-parsers-
i
n
+ (car (treesit-local-parsers-
o
n
beg end (or parser-or-lang
lang-at-point)))))
(treesit-parser-root-node parser))