emacs-elpa-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[elpa] externals/indent-bars 88a995668a 161/431: ts-node-query: restore


From: ELPA Syncer
Subject: [elpa] externals/indent-bars 88a995668a 161/431: ts-node-query: restore use of ts-parser to indicate top level node
Date: Mon, 16 Sep 2024 12:59:24 -0400 (EDT)

branch: externals/indent-bars
commit 88a995668a3c80ddfd2db428d42a216f36d8837c
Author: JD Smith <93749+jdtsmith@users.noreply.github.com>
Commit: JD Smith <93749+jdtsmith@users.noreply.github.com>

    ts-node-query: restore use of ts-parser to indicate top level node
---
 indent-bars.el | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/indent-bars.el b/indent-bars.el
index 2dbba3955d..b36c2fa694 100644
--- a/indent-bars.el
+++ b/indent-bars.el
@@ -832,7 +832,7 @@ query searches for matching nodes spanning the start of the 
node
 at point."
   (let* ((start (treesit-node-start node))
         (end (if start-only start (treesit-node-end node))))
-    (treesit-query-capture (treesit-buffer-root-node) query
+    (treesit-query-capture indent-bars--ts-parser query
                           start end t)))
 
 (defsubst indent-bars--indent-at-node (node)



reply via email to

[Prev in Thread] Current Thread [Next in Thread]