From 98f98c66e0875eda1b9239d93ec03cefd3cee85e Mon Sep 17 00:00:00 2001 From: Yuan Fu Date: Fri, 8 Sep 2023 09:09:14 -0700 Subject: [PATCH] ; * lisp/treesit.el (treesit--indent-1): Get all parsers. --- lisp/treesit.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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)))) -- 2.39.5