From: Yuan Fu Date: Fri, 8 Sep 2023 16:09:14 +0000 (-0700) Subject: ; * lisp/treesit.el (treesit--indent-1): Get all parsers. X-Git-Tag: archive/raspbian/1%30.1+1-3+rpi1^2~2^2~20^2~4261 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=98f98c66e0875eda1b9239d93ec03cefd3cee85e;p=emacs.git ; * lisp/treesit.el (treesit--indent-1): Get all parsers. --- diff --git a/lisp/treesit.el b/lisp/treesit.el index 63ec880b601..1711446b40b 100644 --- a/lisp/treesit.el +++ b/lisp/treesit.el @@ -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))))