From 2db725fb243b4310b7fea19af4c2f01cb4a7e0f6 Mon Sep 17 00:00:00 2001 From: Yuan Fu Date: Fri, 8 Sep 2023 09:07:46 -0700 Subject: [PATCH] ; * lisp/treesit.el (treesit--indent-1): Add missing call. --- lisp/treesit.el | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lisp/treesit.el b/lisp/treesit.el index c5ca492a837..63ec880b601 100644 --- a/lisp/treesit.el +++ b/lisp/treesit.el @@ -1625,7 +1625,8 @@ Return (ANCHOR . OFFSET). This function is used by (local-parsers (treesit-local-parsers-at bol)) (smallest-node (cond ((null (treesit-parser-list)) nil) - (local-parsers (car local-parsers)) + (local-parsers (treesit-node-at + bol (car local-parsers))) ((eq 1 (length (treesit-parser-list))) (treesit-node-at bol)) ((treesit-language-at (point)) -- 2.39.5