; * lisp/treesit.el (treesit-node-on): Fix treesit-local-parsers-on.
This commit is contained in:
parent
be13e8fc01
commit
9f6cf89fb1
1 changed files with 1 additions and 1 deletions
|
@ -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-in
|
||||
(car (treesit-local-parsers-on
|
||||
beg end (or parser-or-lang
|
||||
lang-at-point)))))
|
||||
(treesit-parser-root-node parser))
|
||||
|
|
Loading…
Add table
Reference in a new issue