; * lisp/treesit.el (treesit--indent-1): Get all parsers.

This commit is contained in:
Yuan Fu 2023-09-08 09:09:14 -07:00
parent 2db725fb24
commit 98f98c66e0
No known key found for this signature in database
GPG key ID: 56E19BC57664A442

View file

@ -1627,7 +1627,7 @@ Return (ANCHOR . OFFSET). This function is used by
(cond ((null (treesit-parser-list)) nil)
(local-parsers (treesit-node-at
bol (car local-parsers)))
((eq 1 (length (treesit-parser-list)))
((eq 1 (length (treesit-parser-list nil nil t)))
(treesit-node-at bol))
((treesit-language-at (point))
(treesit-node-at bol (treesit-language-at (point))))