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

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

[elpa] externals/indent-bars 1875deadb7 166/431: Report TS string query


From: ELPA Syncer
Subject: [elpa] externals/indent-bars 1875deadb7 166/431: Report TS string query error
Date: Mon, 16 Sep 2024 12:59:24 -0400 (EDT)

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

    Report TS string query error
---
 indent-bars.el | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/indent-bars.el b/indent-bars.el
index a355e78d82..34f9efaabf 100644
--- a/indent-bars.el
+++ b/indent-bars.el
@@ -1148,10 +1148,11 @@ Adapted from `highlight-indentation-mode'."
        (setq indent-bars--ts-string-query (treesit-query-compile lang query))
        ;; Test it to be sure
        (condition-case err
-           (treesit-query-capture indent-bars--ts-parser 
indent-bars--ts-string-query pm pm t)
+           (treesit-query-capture indent-bars--ts-parser
+                                  indent-bars--ts-string-query pm pm t)
          (treesit-query-error
           (setq indent-bars-no-descend-string nil)
-          (message "indent-bars: malformed string query; disabling.  See 
indent-bars-no-descend-string."))))))
+          (message "indent-bars: malformed string query; disabling.  See 
indent-bars-no-descend-string.\n%s" err))))))
 
   ;; Current depth highlight
   (when indent-bars-highlight-current-depth



reply via email to

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